test/test_statistics.rb in statsample-2.0.2 vs test/test_statistics.rb in statsample-2.1.0
- old
+ new
@@ -14,10 +14,10 @@
end
def test_recode_repeated
a = %w(a b c c d d d e)
exp = %w(a b c_1 c_2 d_1 d_2 d_3 e)
- assert_equal(exp, a.recode_repeated)
+ assert_equal(exp, Daru::ArrayHelper.recode_repeated(a))
end
def test_is_number
assert('10'.is_number?)
assert('-10'.is_number?)