Sha256: a6941996c7d444349ff424f10df12b755a945b4d479c569b9197ab7f278c0a31
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 Bytes
Contents
require 'test/unit' class Test::Unit::TestCase def assert_tml_resembles(expected_hash, tml) assert Rtml::Test::ResemblanceTest.new(expected_hash, target).pass?, "Expected #{expected_hash.inspect} to resemble:\n\n#{tml}" end def assert_tml_not_resemble(expected_hash, tml) assert !Rtml::Test::ResemblanceTest.new(expected_hash, target).pass?, "Expected #{expected_hash.inspect} not to resemble:\n\n#{tml}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtml-2.0.4 | lib/rtml/test/unit.rb |