mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test String#sum for bits=0..7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
129c02057e
commit
2bd403488d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class TestString < Test::Unit::TestCase
|
|||
assert_equal(294, "abc".sum)
|
||||
check_sum("abc")
|
||||
check_sum("\x80")
|
||||
8.upto(70) {|bits|
|
||||
0.upto(70) {|bits|
|
||||
check_sum("xyz", bits)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue