rushcheck 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. data/README +0 -18
  2. data/Rakefile +18 -2
  3. data/Rakefile.in +17 -1
  4. data/data/rushcheck/doc/rushcheck.thtml +4 -3
  5. data/data/rushcheck/examples/roguetile.rb +2 -2
  6. data/data/rushcheck/examples/rspec/stack_spec.rb +22 -22
  7. data/data/rushcheck/rdoc/classes/FalseClass.html +15 -15
  8. data/data/rushcheck/rdoc/classes/FalseClass.src/M000008.html +4 -4
  9. data/data/rushcheck/rdoc/classes/FalseClass.src/M000009.html +18 -0
  10. data/data/rushcheck/rdoc/classes/FalseClass.src/M000010.html +18 -0
  11. data/data/rushcheck/rdoc/classes/Float.html +20 -20
  12. data/data/rushcheck/rdoc/classes/Float.src/M000021.html +21 -0
  13. data/data/rushcheck/rdoc/classes/Float.src/M000022.html +18 -0
  14. data/data/rushcheck/rdoc/classes/Float.src/M000023.html +22 -0
  15. data/data/rushcheck/rdoc/classes/Float.src/M000024.html +20 -0
  16. data/data/rushcheck/rdoc/classes/NegativeInteger.html +160 -0
  17. data/data/rushcheck/rdoc/classes/NegativeInteger.src/M000005.html +26 -0
  18. data/data/rushcheck/rdoc/classes/NegativeInteger.src/M000006.html +21 -0
  19. data/data/rushcheck/rdoc/classes/NilClass.html +15 -15
  20. data/data/rushcheck/rdoc/classes/NilClass.src/M000029.html +18 -0
  21. data/data/rushcheck/rdoc/classes/NilClass.src/M000030.html +18 -0
  22. data/data/rushcheck/rdoc/classes/NilClass.src/M000031.html +18 -0
  23. data/data/rushcheck/rdoc/classes/NonEmptyRandomArray.html +139 -0
  24. data/data/rushcheck/rdoc/classes/NonEmptyRandomArray.src/M000011.html +20 -0
  25. data/data/rushcheck/rdoc/classes/PositiveInteger.html +160 -0
  26. data/data/rushcheck/rdoc/classes/PositiveInteger.src/M000032.html +26 -0
  27. data/data/rushcheck/rdoc/classes/PositiveInteger.src/M000033.html +21 -0
  28. data/data/rushcheck/rdoc/classes/RandomArray.html +75 -15
  29. data/data/rushcheck/rdoc/classes/RandomArray.src/M000012.html +19 -0
  30. data/data/rushcheck/rdoc/classes/RandomArray.src/M000013.html +25 -0
  31. data/data/rushcheck/rdoc/classes/RandomArray.src/M000014.html +27 -0
  32. data/data/rushcheck/rdoc/classes/RandomArray.src/M000015.html +23 -0
  33. data/data/rushcheck/rdoc/classes/RandomArray.src/M000016.html +23 -0
  34. data/data/rushcheck/rdoc/classes/RandomArray.src/M000017.html +22 -0
  35. data/data/rushcheck/rdoc/classes/RandomHash.html +16 -16
  36. data/data/rushcheck/rdoc/classes/RandomHash.src/M000018.html +19 -0
  37. data/data/rushcheck/rdoc/classes/RandomHash.src/M000019.html +26 -0
  38. data/data/rushcheck/rdoc/classes/RandomHash.src/M000020.html +22 -0
  39. data/data/rushcheck/rdoc/classes/RandomProc.html +20 -20
  40. data/data/rushcheck/rdoc/classes/RandomProc.src/M000025.html +18 -0
  41. data/data/rushcheck/rdoc/classes/RandomProc.src/M000026.html +30 -0
  42. data/data/rushcheck/rdoc/classes/RandomProc.src/M000027.html +26 -0
  43. data/data/rushcheck/rdoc/classes/RandomProc.src/M000028.html +20 -0
  44. data/data/rushcheck/rdoc/classes/RushCheck.html +10 -10
  45. data/data/rushcheck/rdoc/classes/RushCheck.src/M000041.html +18 -0
  46. data/data/rushcheck/rdoc/classes/RushCheck.src/M000042.html +27 -0
  47. data/data/rushcheck/rdoc/classes/RushCheck/Arbitrary.html +5 -5
  48. data/data/rushcheck/rdoc/classes/RushCheck/Arbitrary.src/M000043.html +18 -0
  49. data/data/rushcheck/rdoc/classes/RushCheck/Assertion.html +12 -12
  50. data/data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000081.html +19 -0
  51. data/data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000082.html +23 -0
  52. data/data/rushcheck/rdoc/classes/RushCheck/Claim.html +9 -9
  53. data/data/rushcheck/rdoc/classes/RushCheck/Claim.src/M000116.html +21 -0
  54. data/data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.html +5 -5
  55. data/data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.src/M000066.html +18 -0
  56. data/data/rushcheck/rdoc/classes/RushCheck/Config.html +35 -35
  57. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000074.html +23 -0
  58. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000075.html +22 -0
  59. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000076.html +22 -0
  60. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000077.html +18 -0
  61. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000078.html +38 -0
  62. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000079.html +55 -0
  63. data/data/rushcheck/rdoc/classes/RushCheck/Config.src/M000080.html +50 -0
  64. data/data/rushcheck/rdoc/classes/RushCheck/Gen.html +107 -107
  65. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000083.html +4 -4
  66. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000084.html +26 -4
  67. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000085.html +4 -4
  68. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000086.html +6 -10
  69. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000087.html +14 -4
  70. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000088.html +9 -6
  71. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000089.html +4 -4
  72. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000090.html +4 -4
  73. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000091.html +4 -9
  74. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000092.html +4 -5
  75. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000093.html +4 -4
  76. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000094.html +8 -8
  77. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000095.html +18 -0
  78. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000096.html +21 -0
  79. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000097.html +18 -0
  80. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000098.html +18 -0
  81. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000099.html +23 -0
  82. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000100.html +19 -0
  83. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000101.html +18 -0
  84. data/data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000102.html +22 -0
  85. data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.html +20 -20
  86. data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000049.html +22 -0
  87. data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000050.html +32 -0
  88. data/data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000051.html +18 -0
  89. data/data/rushcheck/rdoc/classes/RushCheck/Property.html +10 -10
  90. data/data/rushcheck/rdoc/classes/RushCheck/Property.src/M000114.html +26 -0
  91. data/data/rushcheck/rdoc/classes/RushCheck/Property.src/M000115.html +18 -0
  92. data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.html +10 -10
  93. data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000047.html +18 -0
  94. data/data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000048.html +19 -0
  95. data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.html +20 -20
  96. data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000044.html +18 -0
  97. data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000045.html +18 -0
  98. data/data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000046.html +18 -0
  99. data/data/rushcheck/rdoc/classes/RushCheck/Result.html +19 -19
  100. data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000103.html +18 -0
  101. data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000104.html +18 -0
  102. data/data/rushcheck/rdoc/classes/RushCheck/Result.src/M000105.html +18 -0
  103. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.html +27 -27
  104. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000069.html +23 -0
  105. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000070.html +21 -0
  106. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000071.html +21 -0
  107. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000072.html +18 -0
  108. data/data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000073.html +18 -0
  109. data/data/rushcheck/rdoc/classes/RushCheck/TestFailed.html +5 -5
  110. data/data/rushcheck/rdoc/classes/RushCheck/TestFailed.src/M000107.html +18 -0
  111. data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.html +10 -10
  112. data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000067.html +18 -0
  113. data/data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000068.html +18 -0
  114. data/data/rushcheck/rdoc/classes/RushCheck/TestResult.html +5 -5
  115. data/data/rushcheck/rdoc/classes/RushCheck/TestResult.src/M000108.html +18 -0
  116. data/data/rushcheck/rdoc/classes/RushCheck/Testable.html +66 -66
  117. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000052.html +4 -5
  118. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000053.html +4 -7
  119. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000056.html +4 -4
  120. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000057.html +4 -4
  121. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000058.html +18 -0
  122. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000060.html +19 -0
  123. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000061.html +21 -0
  124. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000062.html +18 -0
  125. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000064.html +18 -0
  126. data/data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000065.html +18 -0
  127. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.html +38 -21
  128. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000109.html +18 -0
  129. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000110.html +20 -0
  130. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000111.html +21 -0
  131. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000112.html +18 -0
  132. data/data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000113.html +18 -0
  133. data/data/rushcheck/rdoc/classes/SpecialString.html +5 -5
  134. data/data/rushcheck/rdoc/classes/SpecialString.src/M000007.html +37 -0
  135. data/data/rushcheck/rdoc/classes/String.html +20 -20
  136. data/data/rushcheck/rdoc/classes/String.src/M000034.html +24 -0
  137. data/data/rushcheck/rdoc/classes/String.src/M000035.html +18 -0
  138. data/data/rushcheck/rdoc/classes/String.src/M000036.html +25 -0
  139. data/data/rushcheck/rdoc/classes/String.src/M000037.html +22 -0
  140. data/data/rushcheck/rdoc/classes/TrueClass.html +15 -15
  141. data/data/rushcheck/rdoc/classes/TrueClass.src/M000038.html +18 -0
  142. data/data/rushcheck/rdoc/classes/TrueClass.src/M000039.html +18 -0
  143. data/data/rushcheck/rdoc/classes/TrueClass.src/M000040.html +18 -0
  144. data/data/rushcheck/rdoc/created.rid +1 -1
  145. data/data/rushcheck/rdoc/files/rushcheck/array_rb.html +1 -1
  146. data/data/rushcheck/rdoc/files/rushcheck/assertion_rb.html +1 -1
  147. data/data/rushcheck/rdoc/files/rushcheck/bool_rb.html +1 -1
  148. data/data/rushcheck/rdoc/files/rushcheck/config_rb.html +1 -1
  149. data/data/rushcheck/rdoc/files/rushcheck/gen_rb.html +1 -1
  150. data/data/rushcheck/rdoc/files/rushcheck/integer_rb.html +1 -1
  151. data/data/rushcheck/rdoc/files/rushcheck/random_rb.html +1 -1
  152. data/data/rushcheck/rdoc/files/rushcheck/version_rb.html +1 -1
  153. data/data/rushcheck/rdoc/fr_class_index.html +3 -0
  154. data/data/rushcheck/rdoc/fr_method_index.html +112 -103
  155. data/lib/rushcheck/array.rb +58 -17
  156. data/lib/rushcheck/assertion.rb +1 -1
  157. data/lib/rushcheck/gen.rb +7 -9
  158. data/lib/rushcheck/integer.rb +56 -0
  159. data/lib/rushcheck/property.rb +1 -1
  160. data/lib/rushcheck/random.rb +5 -1
  161. data/lib/rushcheck/version.rb +1 -1
  162. metadata +98 -2
@@ -13,28 +13,59 @@ class RandomArray < Array
13
13
  extend RushCheck::Arbitrary
14
14
  include RushCheck::Coarbitrary
15
15
 
16
+ # self.set_pattern must be executed before calling self.arbitrary.
17
+ # self.set_pattern defines pattern of random arrays for self.arbitrary.
18
+ # self.set_pattern takes a variable and a block, where the variable
19
+ # should be a class which is used for the first element of random array.
20
+ # On the other hand,
21
+ # the block should define random array by inductive way; the block
22
+ # takes two variables and the first variable is assumed as an array
23
+ # and the second variable is the index of array.
16
24
  def self.set_pattern(base, &f)
17
25
  @@base, @@indp = base, f
18
- self
26
+ nil
19
27
  end
20
-
21
- def self.arbitrary
28
+
29
+ def self.create_components(cs, n, r)
30
+ case cs
31
+ when Class
32
+ cs.arbitrary.value(n, r)
33
+ when Array
34
+ cs.map {|c| self.create_components(c, n, r)}
35
+ else
36
+ raise RuntimeError, "Unexpected arguments #{cs.inspect}. Maybe forgotten calling set_pattern before?"
37
+ end
38
+ end
39
+
40
+ # a private method for self.arbitrary
41
+ def self.create_array(len)
42
+ RushCheck::Gen.new do |n, r|
43
+ ary = [self.create_components(@@base, n, r)]
44
+ r2 = r
45
+ (1..len).each do |i|
46
+ r1, r2 = r2.split
47
+ ary << self.create_components(@@indp.call(ary, i), n, r1)
48
+ end
49
+
50
+ ary
51
+ end
52
+ end
53
+
54
+ # a private method for self.arbitrary
55
+ def self.arrange_len
22
56
  RushCheck::Gen.sized do |m|
57
+ m = 1 - m if m <= 0
23
58
  RushCheck::Gen.choose(0, m).bind do |len|
24
- if len = 0
25
- then RushCheck::Gen.unit([])
26
- else
27
- RushCheck::Gen.new do |n, r|
28
- ary = [@@base.arbitrary.value(n, r)]
29
- r2 = r
30
- (1..len).each do |i|
31
- r1, r2 = r2.split
32
- ary << @@indp.call(ary, i).arbitrary.value(n, r1)
33
- end
34
-
35
- ary
36
- end
37
- end
59
+ yield len
60
+ end
61
+ end
62
+ end
63
+
64
+ def self.arbitrary
65
+ self.arrange_len do |len|
66
+ if len == 0
67
+ then RushCheck::Gen.unit([])
68
+ else self.create_array(len)
38
69
  end
39
70
  end
40
71
  end
@@ -48,3 +79,13 @@ class RandomArray < Array
48
79
  end
49
80
 
50
81
  end
82
+
83
+ class NonEmptyRandomArray < RandomArray
84
+
85
+ def self.arbitrary
86
+ self.arrange_len do |len|
87
+ self.create_array(len + 1)
88
+ end
89
+ end
90
+
91
+ end
@@ -53,7 +53,7 @@ module RushCheck
53
53
  end
54
54
  end.bind do |args|
55
55
  test = begin
56
- yield(args)
56
+ @proc.call(*args) # not yield here!
57
57
  rescue Exception => ex
58
58
  case ex
59
59
  when RushCheck::GuardException
data/lib/rushcheck/gen.rb CHANGED
@@ -51,11 +51,11 @@ module RushCheck
51
51
  end
52
52
 
53
53
  # create is one of primitive generators to create a random Gen object.
54
- # create takes an array of classes, and any block to generate object.
54
+ # create takes at least a class, and any block to generate object.
55
55
  # Then create returns a Gen object. It may useful to implement
56
56
  # arbitrary method into your class.
57
- def self.create(cs, &f)
58
- self.create_by_gen(cs.map {|c| c.arbitrary}) { yield f }
57
+ def self.create(*cs, &f)
58
+ self.create_by_gen(cs.map {|c| c.arbitrary}, &f)
59
59
  end
60
60
 
61
61
  # elements is one of primitive generators to create a random Gen
@@ -196,7 +196,7 @@ module RushCheck
196
196
  # a generator of the property.
197
197
  def forall
198
198
  bind do |*a|
199
- yield(*a).property.bind do |res|
199
+ yield(*a).property.gen.bind do |res|
200
200
  res.arguments.push(a.to_s)
201
201
  self.class.unit(res)
202
202
  end
@@ -222,11 +222,9 @@ module RushCheck
222
222
  # Integer. variant is needed to generate rundom functions.
223
223
  def variant(v)
224
224
  self.class.new do |n, r|
225
- g = (1..v).inject(r) do |gen, i|
226
- gen, dummy = gen.split
227
- gen
228
- end
229
- value(n, g)
225
+ gen = r
226
+ v.times { gen, dummy = gen.split }
227
+ value(n, gen)
230
228
  end
231
229
  end
232
230
 
@@ -46,3 +46,59 @@ class Integer
46
46
  end
47
47
 
48
48
  end
49
+
50
+ class PositiveInteger < Integer
51
+
52
+ @@max_bound = 2**30 - 1
53
+ @@min_bound = 1
54
+
55
+ # this method is needed to include HsRandom.
56
+ def self.random_range(gen, lo=@@min_bound, hi=@@max_bound)
57
+ hi, lo = lo, hi if hi < lo
58
+ raise RuntimeError, "PositiveInteger requires positive lower bound." if lo <= 0
59
+ v, g = gen.gen_next
60
+ d = hi - lo + 1
61
+
62
+ if d == 1
63
+ then [lo, g]
64
+ else [(v % d) + lo, g]
65
+ end
66
+ end
67
+
68
+ # this method is needed to use Arbitrary.
69
+ def self.arbitrary
70
+ RushCheck::Gen.sized do |n|
71
+ n = 1 - n if n <= 0
72
+ RushCheck::Gen.choose(1, n)
73
+ end
74
+ end
75
+
76
+ end
77
+
78
+ class NegativeInteger < Integer
79
+
80
+ @@max_bound = -1
81
+ @@min_bound = -(2**30)
82
+
83
+ # this method is needed to include HsRandom.
84
+ def self.random_range(gen, lo=@@min_bound, hi=@@max_bound)
85
+ hi, lo = lo, hi if hi < lo
86
+ raise RuntimeError, "NegativeInteger requires negative upper bound." if hi >= 0
87
+ v, g = gen.gen_next
88
+ d = hi - lo + 1
89
+
90
+ if d == 1
91
+ then [lo, g]
92
+ else [(v % d) + lo, g]
93
+ end
94
+ end
95
+
96
+ # this method is needed to use Arbitrary.
97
+ def self.arbitrary
98
+ RushCheck::Gen.sized do |n|
99
+ n = (-1) - n if n >= 0
100
+ RushCheck::Gen.choose(-n, -1)
101
+ end
102
+ end
103
+
104
+ end
@@ -16,7 +16,7 @@ module RushCheck
16
16
  case obj
17
17
  when nil, true, false
18
18
  result = RushCheck::Result.new(obj, stamp, arguments)
19
- @gen = RushCheck::Gen.unit(result)
19
+ @gen = RushCheck::Gen.unit(result)
20
20
  when Gen
21
21
  @gen = obj
22
22
  else
@@ -121,7 +121,7 @@ module RushCheck
121
121
 
122
122
  # TheStdGen is a singleton class to get the unique random number
123
123
  # generator using StdGen. TheStdGen includes ruby's Singleton module.
124
- class TheStdGen
124
+ class TheStdGen < StdGen
125
125
 
126
126
  include Singleton
127
127
  include RushCheck::RandomGen
@@ -143,6 +143,10 @@ module RushCheck
143
143
  result
144
144
  end
145
145
 
146
+ def to_s
147
+ @gen.to_s
148
+ end
149
+
146
150
  def gen_range
147
151
  @gen.gen_range
148
152
  end
@@ -3,6 +3,6 @@
3
3
 
4
4
  module RushCheck
5
5
 
6
- VERSION = "0.6"
6
+ VERSION = "0.7"
7
7
 
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rushcheck
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.6"
7
- date: 2006-10-13 00:00:00.000000 +09:00
6
+ version: "0.7"
7
+ date: 2006-10-28 00:00:00 +09:00
8
8
  summary: A lightweight random testing tool
9
9
  require_paths:
10
10
  - lib
@@ -93,8 +93,14 @@ files:
93
93
  - data/rushcheck/rdoc/classes/HsRandom.src
94
94
  - data/rushcheck/rdoc/classes/Integer.html
95
95
  - data/rushcheck/rdoc/classes/Integer.src
96
+ - data/rushcheck/rdoc/classes/NegativeInteger.html
97
+ - data/rushcheck/rdoc/classes/NegativeInteger.src
96
98
  - data/rushcheck/rdoc/classes/NilClass.html
97
99
  - data/rushcheck/rdoc/classes/NilClass.src
100
+ - data/rushcheck/rdoc/classes/NonEmptyRandomArray.html
101
+ - data/rushcheck/rdoc/classes/NonEmptyRandomArray.src
102
+ - data/rushcheck/rdoc/classes/PositiveInteger.html
103
+ - data/rushcheck/rdoc/classes/PositiveInteger.src
98
104
  - data/rushcheck/rdoc/classes/Property.html
99
105
  - data/rushcheck/rdoc/classes/Property.src
100
106
  - data/rushcheck/rdoc/classes/RandomArray.html
@@ -148,6 +154,8 @@ files:
148
154
  - data/rushcheck/rdoc/classes/FalseClass.src/M000006.html
149
155
  - data/rushcheck/rdoc/classes/FalseClass.src/M000007.html
150
156
  - data/rushcheck/rdoc/classes/FalseClass.src/M000008.html
157
+ - data/rushcheck/rdoc/classes/FalseClass.src/M000009.html
158
+ - data/rushcheck/rdoc/classes/FalseClass.src/M000010.html
151
159
  - data/rushcheck/rdoc/classes/FalseClass.src/M000018.html
152
160
  - data/rushcheck/rdoc/classes/FalseClass.src/M000019.html
153
161
  - data/rushcheck/rdoc/classes/FalseClass.src/M000020.html
@@ -158,6 +166,10 @@ files:
158
166
  - data/rushcheck/rdoc/classes/Float.src/M000016.html
159
167
  - data/rushcheck/rdoc/classes/Float.src/M000017.html
160
168
  - data/rushcheck/rdoc/classes/Float.src/M000018.html
169
+ - data/rushcheck/rdoc/classes/Float.src/M000021.html
170
+ - data/rushcheck/rdoc/classes/Float.src/M000022.html
171
+ - data/rushcheck/rdoc/classes/Float.src/M000023.html
172
+ - data/rushcheck/rdoc/classes/Float.src/M000024.html
161
173
  - data/rushcheck/rdoc/classes/Float.src/M000047.html
162
174
  - data/rushcheck/rdoc/classes/Float.src/M000048.html
163
175
  - data/rushcheck/rdoc/classes/Float.src/M000049.html
@@ -213,9 +225,14 @@ files:
213
225
  - data/rushcheck/rdoc/classes/Integer.src/M000011.html
214
226
  - data/rushcheck/rdoc/classes/Integer.src/M000012.html
215
227
  - data/rushcheck/rdoc/classes/Integer.src/M000013.html
228
+ - data/rushcheck/rdoc/classes/NegativeInteger.src/M000005.html
229
+ - data/rushcheck/rdoc/classes/NegativeInteger.src/M000006.html
216
230
  - data/rushcheck/rdoc/classes/NilClass.src/M000023.html
217
231
  - data/rushcheck/rdoc/classes/NilClass.src/M000024.html
218
232
  - data/rushcheck/rdoc/classes/NilClass.src/M000025.html
233
+ - data/rushcheck/rdoc/classes/NilClass.src/M000029.html
234
+ - data/rushcheck/rdoc/classes/NilClass.src/M000030.html
235
+ - data/rushcheck/rdoc/classes/NilClass.src/M000031.html
219
236
  - data/rushcheck/rdoc/classes/NilClass.src/M000059.html
220
237
  - data/rushcheck/rdoc/classes/NilClass.src/M000060.html
221
238
  - data/rushcheck/rdoc/classes/NilClass.src/M000061.html
@@ -223,6 +240,9 @@ files:
223
240
  - data/rushcheck/rdoc/classes/NilClass.src/M000064.html
224
241
  - data/rushcheck/rdoc/classes/NilClass.src/M000065.html
225
242
  - data/rushcheck/rdoc/classes/NilClass.src/M000066.html
243
+ - data/rushcheck/rdoc/classes/NonEmptyRandomArray.src/M000011.html
244
+ - data/rushcheck/rdoc/classes/PositiveInteger.src/M000032.html
245
+ - data/rushcheck/rdoc/classes/PositiveInteger.src/M000033.html
226
246
  - data/rushcheck/rdoc/classes/Property.src/M000070.html
227
247
  - data/rushcheck/rdoc/classes/Property.src/M000071.html
228
248
  - data/rushcheck/rdoc/classes/Property.src/M000072.html
@@ -231,6 +251,12 @@ files:
231
251
  - data/rushcheck/rdoc/classes/RandomArray.src/M000009.html
232
252
  - data/rushcheck/rdoc/classes/RandomArray.src/M000010.html
233
253
  - data/rushcheck/rdoc/classes/RandomArray.src/M000011.html
254
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000012.html
255
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000013.html
256
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000014.html
257
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000015.html
258
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000016.html
259
+ - data/rushcheck/rdoc/classes/RandomArray.src/M000017.html
234
260
  - data/rushcheck/rdoc/classes/RandomArray.src/M000021.html
235
261
  - data/rushcheck/rdoc/classes/RandomArray.src/M000022.html
236
262
  - data/rushcheck/rdoc/classes/RandomArray.src/M000023.html
@@ -252,6 +278,9 @@ files:
252
278
  - data/rushcheck/rdoc/classes/RandomHash.src/M000012.html
253
279
  - data/rushcheck/rdoc/classes/RandomHash.src/M000013.html
254
280
  - data/rushcheck/rdoc/classes/RandomHash.src/M000014.html
281
+ - data/rushcheck/rdoc/classes/RandomHash.src/M000018.html
282
+ - data/rushcheck/rdoc/classes/RandomHash.src/M000019.html
283
+ - data/rushcheck/rdoc/classes/RandomHash.src/M000020.html
255
284
  - data/rushcheck/rdoc/classes/RandomHash.src/M000044.html
256
285
  - data/rushcheck/rdoc/classes/RandomHash.src/M000045.html
257
286
  - data/rushcheck/rdoc/classes/RandomHash.src/M000046.html
@@ -263,6 +292,10 @@ files:
263
292
  - data/rushcheck/rdoc/classes/RandomProc.src/M000020.html
264
293
  - data/rushcheck/rdoc/classes/RandomProc.src/M000021.html
265
294
  - data/rushcheck/rdoc/classes/RandomProc.src/M000022.html
295
+ - data/rushcheck/rdoc/classes/RandomProc.src/M000025.html
296
+ - data/rushcheck/rdoc/classes/RandomProc.src/M000026.html
297
+ - data/rushcheck/rdoc/classes/RandomProc.src/M000027.html
298
+ - data/rushcheck/rdoc/classes/RandomProc.src/M000028.html
266
299
  - data/rushcheck/rdoc/classes/RandomProc.src/M000055.html
267
300
  - data/rushcheck/rdoc/classes/RandomProc.src/M000056.html
268
301
  - data/rushcheck/rdoc/classes/RandomProc.src/M000057.html
@@ -317,10 +350,15 @@ files:
317
350
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.html
318
351
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src
319
352
  - data/rushcheck/rdoc/classes/RushCheck/Arbitrary.src/M000035.html
353
+ - data/rushcheck/rdoc/classes/RushCheck/Arbitrary.src/M000043.html
320
354
  - data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000073.html
321
355
  - data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000074.html
356
+ - data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000081.html
357
+ - data/rushcheck/rdoc/classes/RushCheck/Assertion.src/M000082.html
322
358
  - data/rushcheck/rdoc/classes/RushCheck/Claim.src/M000107.html
359
+ - data/rushcheck/rdoc/classes/RushCheck/Claim.src/M000116.html
323
360
  - data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.src/M000058.html
361
+ - data/rushcheck/rdoc/classes/RushCheck/Coarbitrary.src/M000066.html
324
362
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000066.html
325
363
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000067.html
326
364
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000068.html
@@ -328,6 +366,13 @@ files:
328
366
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000070.html
329
367
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000071.html
330
368
  - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000072.html
369
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000074.html
370
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000075.html
371
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000076.html
372
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000077.html
373
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000078.html
374
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000079.html
375
+ - data/rushcheck/rdoc/classes/RushCheck/Config.src/M000080.html
331
376
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000075.html
332
377
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000076.html
333
378
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000077.html
@@ -348,24 +393,50 @@ files:
348
393
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000092.html
349
394
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000093.html
350
395
  - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000094.html
396
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000095.html
397
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000096.html
398
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000097.html
399
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000098.html
400
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000099.html
401
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000100.html
402
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000101.html
403
+ - data/rushcheck/rdoc/classes/RushCheck/Gen.src/M000102.html
351
404
  - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000041.html
352
405
  - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000042.html
353
406
  - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000043.html
407
+ - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000049.html
408
+ - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000050.html
409
+ - data/rushcheck/rdoc/classes/RushCheck/HsRandom.src/M000051.html
354
410
  - data/rushcheck/rdoc/classes/RushCheck/Property.src/M000105.html
355
411
  - data/rushcheck/rdoc/classes/RushCheck/Property.src/M000106.html
412
+ - data/rushcheck/rdoc/classes/RushCheck/Property.src/M000114.html
413
+ - data/rushcheck/rdoc/classes/RushCheck/Property.src/M000115.html
356
414
  - data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000039.html
357
415
  - data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000040.html
416
+ - data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000047.html
417
+ - data/rushcheck/rdoc/classes/RushCheck/RandomBool.src/M000048.html
358
418
  - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000036.html
359
419
  - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000037.html
360
420
  - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000038.html
421
+ - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000044.html
422
+ - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000045.html
423
+ - data/rushcheck/rdoc/classes/RushCheck/RandomGen.src/M000046.html
361
424
  - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000095.html
362
425
  - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000096.html
363
426
  - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000097.html
427
+ - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000103.html
428
+ - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000104.html
429
+ - data/rushcheck/rdoc/classes/RushCheck/Result.src/M000105.html
364
430
  - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000061.html
365
431
  - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000062.html
366
432
  - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000063.html
367
433
  - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000064.html
368
434
  - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000065.html
435
+ - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000069.html
436
+ - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000070.html
437
+ - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000071.html
438
+ - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000072.html
439
+ - data/rushcheck/rdoc/classes/RushCheck/StdGen.src/M000073.html
369
440
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000044.html
370
441
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000045.html
371
442
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000048.html
@@ -376,16 +447,33 @@ files:
376
447
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000054.html
377
448
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000056.html
378
449
  - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000057.html
450
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000058.html
451
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000060.html
452
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000061.html
453
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000062.html
454
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000064.html
455
+ - data/rushcheck/rdoc/classes/RushCheck/Testable.src/M000065.html
379
456
  - data/rushcheck/rdoc/classes/RushCheck/TestFailed.src/M000099.html
457
+ - data/rushcheck/rdoc/classes/RushCheck/TestFailed.src/M000107.html
380
458
  - data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000059.html
381
459
  - data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000060.html
460
+ - data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000067.html
461
+ - data/rushcheck/rdoc/classes/RushCheck/TestOptions.src/M000068.html
382
462
  - data/rushcheck/rdoc/classes/RushCheck/TestResult.src/M000100.html
463
+ - data/rushcheck/rdoc/classes/RushCheck/TestResult.src/M000108.html
383
464
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000101.html
384
465
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000102.html
385
466
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000103.html
386
467
  - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000104.html
468
+ - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000109.html
469
+ - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000110.html
470
+ - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000111.html
471
+ - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000112.html
472
+ - data/rushcheck/rdoc/classes/RushCheck/TheStdGen.src/M000113.html
387
473
  - data/rushcheck/rdoc/classes/RushCheck.src/M000033.html
388
474
  - data/rushcheck/rdoc/classes/RushCheck.src/M000034.html
475
+ - data/rushcheck/rdoc/classes/RushCheck.src/M000041.html
476
+ - data/rushcheck/rdoc/classes/RushCheck.src/M000042.html
389
477
  - data/rushcheck/rdoc/classes/RushCheckConfig.src/M000001.html
390
478
  - data/rushcheck/rdoc/classes/RushCheckConfig.src/M000002.html
391
479
  - data/rushcheck/rdoc/classes/RushCheckConfig.src/M000003.html
@@ -394,6 +482,7 @@ files:
394
482
  - data/rushcheck/rdoc/classes/RushCheckConfig.src/M000006.html
395
483
  - data/rushcheck/rdoc/classes/RushCheckConfig.src/M000007.html
396
484
  - data/rushcheck/rdoc/classes/SpecialString.src/M000005.html
485
+ - data/rushcheck/rdoc/classes/SpecialString.src/M000007.html
397
486
  - data/rushcheck/rdoc/classes/SpecialString.src/M000017.html
398
487
  - data/rushcheck/rdoc/classes/SpecialString.src/M000021.html
399
488
  - data/rushcheck/rdoc/classes/StdGen.src/M000010.html
@@ -409,6 +498,10 @@ files:
409
498
  - data/rushcheck/rdoc/classes/String.src/M000027.html
410
499
  - data/rushcheck/rdoc/classes/String.src/M000028.html
411
500
  - data/rushcheck/rdoc/classes/String.src/M000029.html
501
+ - data/rushcheck/rdoc/classes/String.src/M000034.html
502
+ - data/rushcheck/rdoc/classes/String.src/M000035.html
503
+ - data/rushcheck/rdoc/classes/String.src/M000036.html
504
+ - data/rushcheck/rdoc/classes/String.src/M000037.html
412
505
  - data/rushcheck/rdoc/classes/String.src/M000066.html
413
506
  - data/rushcheck/rdoc/classes/String.src/M000067.html
414
507
  - data/rushcheck/rdoc/classes/String.src/M000068.html
@@ -452,6 +545,9 @@ files:
452
545
  - data/rushcheck/rdoc/classes/TrueClass.src/M000030.html
453
546
  - data/rushcheck/rdoc/classes/TrueClass.src/M000031.html
454
547
  - data/rushcheck/rdoc/classes/TrueClass.src/M000032.html
548
+ - data/rushcheck/rdoc/classes/TrueClass.src/M000038.html
549
+ - data/rushcheck/rdoc/classes/TrueClass.src/M000039.html
550
+ - data/rushcheck/rdoc/classes/TrueClass.src/M000040.html
455
551
  - data/rushcheck/rdoc/classes/TrueClass.src/M000072.html
456
552
  - data/rushcheck/rdoc/classes/TrueClass.src/M000073.html
457
553
  - data/rushcheck/rdoc/classes/TrueClass.src/M000074.html