From 552756cadf769444882c29404e63630722920e55 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sun, 8 Nov 2020 12:22:47 +0900 Subject: [PATCH] Fix test --- test/uplot/preprocessing_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/uplot/preprocessing_test.rb b/test/uplot/preprocessing_test.rb index 943d901..0e314a6 100644 --- a/test/uplot/preprocessing_test.rb +++ b/test/uplot/preprocessing_test.rb @@ -125,8 +125,8 @@ class UplotPreprocessingTest < Test::Unit::TestCase [3, 5, 6]], false, false)) end - test :count do - assert_equal([%i[a b c], [3, 2, 1]], @m.count(%i[a a a b b c])) - assert_equal([%i[c b a], [3, 2, 1]], @m.count(%i[a b b c c c])) + test :count_values do + assert_equal([%i[a b c], [3, 2, 1]], @m.count_values(%i[a a a b b c])) + assert_equal([%i[c b a], [3, 2, 1]], @m.count_values(%i[a b b c c c])) end end