Sha256: cb489db7661f7cdf452cd9720f28c12deb3b3f5dbb50cc99ae4ca375d8032024
Contents?: true
Size: 522 Bytes
Versions: 4
Compression:
Stored size: 522 Bytes
Contents
covers 'facets/kernel/not' tests Kernel do unit :not? do b = true b.not?.assert == !b end unit :not? do b = false b.not?.assert == !b end unit :not? do b = nil b.not?.assert == !b end unit :not? do b = Object.new b.not?.assert == !b end unit :not do b = true r = b.not.nil? r.assert == true end unit :not do b = false r = b.not.nil? r.assert == true end unit :not do b = nil r = b.not.nil? r.assert == false end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
facets-2.9.1 | test/core/kernel/test_not.rb |
facets-2.9.0 | test/core/kernel/test_not.rb |
facets-2.9.0.pre.2 | test/core/kernel/test_not.rb |
facets-2.9.0.pre.1 | test/core/kernel/test_not.rb |