File: unicode_plot_test.rb

package info (click to toggle)
youplot 0.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 404 kB
  • sloc: ruby: 1,325; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

require_relative 'test_helper'
require 'unicode_plot'

# Check the UnicodePlot constants that YouPlot depends on.
# Prepare for UnicodePlot version upgrades.
class UnicodePlotTest < Test::Unit::TestCase
  test 'VERSION' do
    assert UnicodePlot::VERSION
  end

  test 'BORDER_MAP' do
    assert_instance_of Hash, UnicodePlot::BORDER_MAP
  end

  test 'PREDEFINED_TRANSFORM_FUNCTIONS' do
    assert_instance_of Hash, UnicodePlot::ValueTransformer::PREDEFINED_TRANSFORM_FUNCTIONS
  end
end