rubyx/test/risc/test_parfait_adapter.rb
Torsten Ruger 4b33d1c056 fix many a test especially whole mom
but some positioning bug still in there preventing
binary to work
2018-07-02 17:01:07 +03:00

24 lines
478 B
Ruby

require_relative "helper"
module Parfait
class TestAdapter < MiniTest::Test
def setup
Parfait.boot!
end
def test_list_create_from_array
array = [1,2,3]
list = Parfait.new_list(array)
assert_equal array , list.to_a
end
def test_word_create_from_string
string = "something"
word = Parfait.new_word(string)
assert_equal word , Parfait.new_word(string)
assert_equal string , word.to_string
end
end
end