Update tests

This commit is contained in:
Dan Milne
2011-12-02 16:48:56 +11:00
parent 411bc9b277
commit f3446f333e
3 changed files with 10 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ class TestHSMR < Test::Unit::TestCase
def test_should_detect_odd_parity_in_a_key
odd_key = HSMR::Key.new("41A2AC14A90C583741A2AC14A90C5837")
assert_false odd_key.odd_parity?
assert odd_key.odd_parity? == false
end
def test_should_set_double_length_key_parity_to_odd
@@ -93,7 +93,7 @@ class TestHSMR < Test::Unit::TestCase
def test_should_detect_odd_parity_in_a_component
odd_component = HSMR::Component.new("41A2AC14A90C583741A2AC14A90C5837")
assert_false odd_component.odd_parity?
assert odd_component.odd_parity? == false
end
def test_should_set_double_length_component_parity_to_odd

View File

@@ -1,7 +1,2 @@
require "test/unit"
#require "./lib/hsmr"
#require "./lib/hsmr/key"
#require "./lib/hsmr/component"
require "hsmr"
#require "hsmr/key"
#require "hsmr/component"