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