Sha256: cfa49a6d74053da282a4c0265a10cbb6c4fe78915fcd04242e55a4073400def3

Contents?: true

Size: 650 Bytes

Versions: 38

Compression:

Stored size: 650 Bytes

Contents

##
# FalseClass ISO Test

assert('FalseClass', '15.2.6') do
  assert_equal Class, FalseClass.class
end

assert('FalseClass false', '15.2.6.1') do
  assert_false false
  assert_equal FalseClass, false.class
  assert_false FalseClass.method_defined? :new
end

assert('FalseClass#&', '15.2.6.3.1') do
  assert_false false.&(true)
  assert_false false.&(false)
end

assert('FalseClass#^', '15.2.6.3.2') do
  assert_true false.^(true)
  assert_false false.^(false)
end

assert('FalseClass#to_s', '15.2.6.3.3') do
  assert_equal 'false', false.to_s
end

assert('FalseClass#|', '15.2.6.3.4') do
  assert_true false.|(true)
  assert_false false.|(false)
end

Version data entries

38 entries across 38 versions & 3 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.3.0 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.7 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.6 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.5 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.4 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.3 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.2 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.1 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.2.0 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.1.1 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.1.0 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.0.6 ext/enterprise_script_service/mruby/test/t/false.rb
script_core-0.0.5 ext/enterprise_script_service/mruby/test/t/false.rb
esruby-0.2.0 resources/mruby/test/t/false.rb
esruby-0.1.5 resources/mruby/test/t/false.rb
esruby-0.1.4 resources/mruby/test/t/false.rb
esruby-0.1.3 resources/mruby/test/t/false.rb
esruby-0.1.2 resources/mruby/test/t/false.rb
esruby-0.1.1 resources/mruby/test/t/false.rb