Add some basic tests

This commit is contained in:
kojix2
2020-11-23 21:31:16 +09:00
parent a0c3863b4c
commit 7034a83dea
9 changed files with 174 additions and 21 deletions

12
test/fixtures/iris-histogram.txt vendored Normal file
View File

@@ -0,0 +1,12 @@
IRIS-HISTOGRAM
┌ ┐
[4.0, 4.5) ┤▇▇▇▇▇ 4
[4.5, 5.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 18
[5.0, 5.5) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 30
[5.5, 6.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 31
[6.0, 6.5) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 32
[6.5, 7.0) ┤▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22
[7.0, 7.5) ┤▇▇▇▇▇▇▇▇ 7
[7.5, 8.0) ┤▇▇▇▇▇▇▇ 6
└ ┘
Frequency