Sha256: d0072a349534ab49dfd76ca890d9e1fa6f20a950ea5f9b2683890890f057a322
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
covers 'assay/equality_assay' testcase EqualityAssay do class_method :pass? do test do assert EqualityAssay.pass?(1, 1) refute EqualityAssay.pass?(1, 1.0) refute EqualityAssay.pass?(1, 2) end end class_method :fail? do test do refute EqualityAssay.fail?(1, 1) assert EqualityAssay.fail?(1, 1.0) assert EqualityAssay.fail?(1, 2) end end class_method :assert! do test do EqualityAssay.assert!(1, 1) end test do expect EqualityAssay do EqualityAssay.assert!(1, 2) end end end class_method :refute! do test do EqualityAssay.refute!(1, 1.0) end test do expect EqualityAssay do EqualityAssay.refute!(1, 1) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
assay-0.4.1 | test/case_equality_assay.rb |
assay-0.4.0 | test/case_equality_assay.rb |