Rename Preprocessing to DSVReader

* DSV stands for Delimiter-separated values.
* Preprocessing is too vague.
This commit is contained in:
kojix2
2020-11-25 17:19:07 +09:00
parent ccf232a742
commit 1a3ad9553c
4 changed files with 9 additions and 27 deletions

View File

@@ -2,9 +2,9 @@
require_relative '../test_helper'
class YouPlotPreprocessingTest < Test::Unit::TestCase
class YouPlotDSVReaderTest < Test::Unit::TestCase
def setup
@m = YouPlot::Preprocessing
@m = YouPlot::DSVReader
end
test :transpose2 do
@@ -124,9 +124,4 @@ class YouPlotPreprocessingTest < Test::Unit::TestCase
[2, 4],
[3, 5, 6]], false, false))
end
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