mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-07 23:51:12 +08:00
Fix test
This commit is contained in:
parent
4b4848438c
commit
552756cadf
@ -125,8 +125,8 @@ class UplotPreprocessingTest < Test::Unit::TestCase
|
|||||||
[3, 5, 6]], false, false))
|
[3, 5, 6]], false, false))
|
||||||
end
|
end
|
||||||
|
|
||||||
test :count do
|
test :count_values do
|
||||||
assert_equal([%i[a b c], [3, 2, 1]], @m.count(%i[a a a b b c]))
|
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(%i[a b b c c c]))
|
assert_equal([%i[c b a], [3, 2, 1]], @m.count_values(%i[a b b c c c]))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user