fjord/main_test.rb

11 lines
258 B
Ruby
Raw Normal View History

2024-03-17 23:28:50 +09:00
require 'minitest/autorun'
require_relative 'main'
class RdbTest < Minitest::Test
2024-03-19 22:26:33 +09:00
def test_to_ints
assert_equal [0,0,0], to_ints('#000000')
assert_equal [255,255,255], to_ints('#ffffff')
assert_equal [4, 60, 120], to_ints('#043c78')
2024-03-17 23:28:50 +09:00
end
end