spec/die_spec.rb in games_dice-0.1.1 vs spec/die_spec.rb in games_dice-0.1.2
- old
+ new
@@ -1,17 +1,6 @@
require 'games_dice'
-# Test helper class, a stub of a PRNG
-class TestPRNG
- def initialize
- # Numbers that I randomly thought up!
- @numbers = [0.123,0.234,0.345,0.999,0.876,0.765,0.543,0.111,0.333,0.777]
- end
- def rand(n)
- Integer( n * @numbers.pop )
- end
-end
-
describe GamesDice::Die do
before do
# Set state of default PRNG
srand(4567)
\ No newline at end of file