switch to 0 based indexing

the world rocked for a moment (and more fixes to follow)
also the crumbling of idealism was heard
This commit is contained in:
Torsten Ruger
2018-05-14 11:55:01 +03:00
parent 4856b9891d
commit ab01fa3862
19 changed files with 205 additions and 235 deletions

View File

@ -39,7 +39,7 @@ module Parfait
20.times do
assert int
assert_equal Parfait::Integer , int.class
assert int.get_internal_word(2)
assert int.get_internal_word(1)
int = int.next_integer
end
end