bfts 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/Manifest.txt +17 -0
- data/README.txt +61 -0
- data/Rakefile +17 -0
- data/rubicon_testcase.rb +29 -0
- data/test_array.rb +1261 -0
- data/test_comparable.rb +71 -0
- data/test_exception.rb +78 -0
- data/test_false_class.rb +32 -0
- data/test_file_test.rb +372 -0
- data/test_hash.rb +681 -0
- data/test_nil_class.rb +51 -0
- data/test_range.rb +281 -0
- data/test_string.rb +1793 -0
- data/test_struct.rb +194 -0
- data/test_time.rb +700 -0
- data/test_true_class.rb +33 -0
- metadata +79 -0
data/test_true_class.rb
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
require 'test/unit'
|
|
2
|
+
require 'rubicon_testcase'
|
|
3
|
+
|
|
4
|
+
class TestTrueClass < RubiconTestCase
|
|
5
|
+
|
|
6
|
+
def test_00sanity
|
|
7
|
+
assert_equal(true,TRUE)
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def test_and
|
|
11
|
+
truth_table(true.method("&"), false, true)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def test_carat
|
|
15
|
+
truth_table(true.method("^"), true, false)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def test_or
|
|
19
|
+
truth_table(true.method("|"), true, true)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def test_to_s
|
|
23
|
+
assert_equal("true", true.to_s)
|
|
24
|
+
assert_equal("true", TRUE.to_s)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def test_type
|
|
28
|
+
assert_equal(TrueClass, true.class)
|
|
29
|
+
assert_equal(TrueClass, TRUE.class)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
end
|
|
33
|
+
|
metadata
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
rubygems_version: 0.9.0
|
|
3
|
+
specification_version: 1
|
|
4
|
+
name: bfts
|
|
5
|
+
version: !ruby/object:Gem::Version
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
date: 2006-10-30 00:00:00 -08:00
|
|
8
|
+
summary: Big "Formal" Test Suite
|
|
9
|
+
require_paths:
|
|
10
|
+
- lib
|
|
11
|
+
email: ryand-ruby@zenspider.com
|
|
12
|
+
homepage: " http://rubyforge.org/projects/bfts"
|
|
13
|
+
rubyforge_project: bfts
|
|
14
|
+
description: BFTS is a branch of rubicon with the intent of auditing all of rubicon against the latest version of 1.8.x, stripping all the cruft, and getting everything up to date again. rubicon is dead and the authors have shown no interest in getting things moving again. BFTS hopes to fix that.
|
|
15
|
+
autorequire:
|
|
16
|
+
default_executable:
|
|
17
|
+
bindir: bin
|
|
18
|
+
has_rdoc: true
|
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.0.0
|
|
24
|
+
version:
|
|
25
|
+
platform: ruby
|
|
26
|
+
signing_key:
|
|
27
|
+
cert_chain:
|
|
28
|
+
post_install_message:
|
|
29
|
+
authors:
|
|
30
|
+
- Ryan Davis
|
|
31
|
+
files:
|
|
32
|
+
- History.txt
|
|
33
|
+
- Manifest.txt
|
|
34
|
+
- README.txt
|
|
35
|
+
- Rakefile
|
|
36
|
+
- rubicon_testcase.rb
|
|
37
|
+
- test_array.rb
|
|
38
|
+
- test_comparable.rb
|
|
39
|
+
- test_exception.rb
|
|
40
|
+
- test_false_class.rb
|
|
41
|
+
- test_file_test.rb
|
|
42
|
+
- test_hash.rb
|
|
43
|
+
- test_nil_class.rb
|
|
44
|
+
- test_range.rb
|
|
45
|
+
- test_string.rb
|
|
46
|
+
- test_struct.rb
|
|
47
|
+
- test_time.rb
|
|
48
|
+
- test_true_class.rb
|
|
49
|
+
test_files: []
|
|
50
|
+
|
|
51
|
+
rdoc_options: []
|
|
52
|
+
|
|
53
|
+
extra_rdoc_files: []
|
|
54
|
+
|
|
55
|
+
executables: []
|
|
56
|
+
|
|
57
|
+
extensions: []
|
|
58
|
+
|
|
59
|
+
requirements: []
|
|
60
|
+
|
|
61
|
+
dependencies:
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: hoe
|
|
64
|
+
version_requirement:
|
|
65
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: 1.1.2
|
|
70
|
+
version:
|
|
71
|
+
- !ruby/object:Gem::Dependency
|
|
72
|
+
name: miniunit
|
|
73
|
+
version_requirement:
|
|
74
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
75
|
+
requirements:
|
|
76
|
+
- - ">"
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
version: 0.0.0
|
|
79
|
+
version:
|