Sha256: fe9aa4943d2a220881242fa48f3ca16550748241f83b97da7a28e5e842dd0edc
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
require 'helper' class TestTypecollection < Test::Unit::TestCase should "Actually Function" do require 'typecollection' # => Define a Type Collection class SomeType include TypeCollection end # => Extend that Type Collection class ExtendedSomeType < SomeType end # => Ensure it can be retrieved unless (SomeType.all_types().length == 1 and SomeType.get_type("Extended") == ExtendedSomeType) flunk "Failed to Register Extended with SomeType!" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typecollection-0.0.2 | test/test_typecollection.rb |