File: test-utils.rb

package info (click to toggle)
ruby-unicode-plot 0.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,492 kB
  • sloc: ruby: 2,871; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
class UnicodePlotTest < Test::Unit::TestCase
  test("UnicodePlot.canvas_types") do
    available_canvas_types = [:ascii, :block, :braille, :density, :dot]
    assert_equal(available_canvas_types.sort,
                 UnicodePlot.canvas_types.sort)
  end

  test("UnicodePlot.border_types") do
    available_border_types = [:solid, :corners, :barplot]
    assert_equal(available_border_types.sort,
                 UnicodePlot.border_types.sort)
  end
end