Sha256: 9a219d4239f99b06463814e8d87e87c9f0edfbc046a8c3245bd27ba7070a55e3
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'test_helper') require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'core_ext', 'boolean') class BooleanTest < Test::Unit::TestCase def test_true_yes assert(true.yes?) assert(true.true?) end def test_true_no assert(!true.no?) assert(!true.false?) end def test_false_yes assert(!false.yes?) assert(!false.true?) end def test_false_no assert(false.no?) assert(false.false?) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
talia_core-0.7.0 | test/core_ext/boolean_test.rb |