Sha256: 89c4416731def4e9b2d957138baaf3ee819e3c340470e175efeec3e8c1b15250
Contents?: true
Size: 756 Bytes
Versions: 1
Compression:
Stored size: 756 Bytes
Contents
covers 'facets/kernel/dup' tests Object do instance "ordinary object" do Object.new end unit :dup? do |o| assert o.dup? end unit :clone? do |o| assert o.clone? end end tests TrueClass do unit :dup? do refute true.dup? end unit :clone? do refute true.clone? end end tests FalseClass do unit :dup? do refute false.dup? end unit :clone? do refute false.clone? end end tests NilClass do unit :dup? do refute nil.dup? end unit :clone? do refute nil.clone? end end tests Symbol do unit :dup? do refute :a.dup? end unit :clone? do refute :a.clone? end end tests Numeric do unit :dup? do refute 1.dup? end unit :clone? do refute 1.clone? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-2.9.0.pre.1 | test/core/kernel/test_dup.rb |