diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 14:00:48 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-25 14:00:48 +0000 |
commit | e599c936d85719bb54a42d3fc52e0b67ec044dea (patch) | |
tree | 631f52184a08d8cd2ead9e5cec175877917586b0 /test/ruby/test_integer_comb.rb | |
parent | c942417791e74428fce1ed2a722c679fca5f131e (diff) | |
download | ruby-e599c936d85719bb54a42d3fc52e0b67ec044dea.tar.gz |
* pack.c: consider DYNAMIC_ENDIAN. refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_integer_comb.rb')
-rw-r--r-- | test/ruby/test_integer_comb.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_integer_comb.rb b/test/ruby/test_integer_comb.rb index a8ac340d07..c057deb36f 100644 --- a/test/ruby/test_integer_comb.rb +++ b/test/ruby/test_integer_comb.rb @@ -587,6 +587,8 @@ class TestIntegerComb < Test::Unit::TestCase if min <= a && a <= max assert_equal(a, b, "[#{a}].pack(#{template.dump}).unpack(#{template.dump})[0]") end + assert_operator(min, :<=, b) + assert_operator(b, :<=, max) assert_equal(a & mask, b & mask, "[#{a}].pack(#{template.dump}).unpack(#{template.dump})[0] & #{mask}") } } |