mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +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))
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user