mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Add unicode_plot constant tests
This commit is contained in:
parent
6f8f9275d2
commit
f4f7267ec7
20
test/unicode_plot_test.rb
Normal file
20
test/unicode_plot_test.rb
Normal file
@ -0,0 +1,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
|
Loading…
Reference in New Issue
Block a user