After adding the requirement for weibull, I have now two more tests failing:
Failures:
1) Distribution::Exponential rng should default to Kernel#rand if no :random is given
Failure/Error: Random.should_receive(:rand).and_return(0.5)
(Random (class)).rand(*(any args))
expected: 1 time with any arguments
received: 0 times with any arguments
# ./spec/exponential_spec.rb:82:in `block (3 levels) in <top (required)>'
2) Distribution::Exponential rng should use a given rng if one is passed during construction
Failure/Error: rng = Distribution::Exponential::rng 1.0, :random => random
ArgumentError:
wrong number of arguments (2 for 1)
# ./spec/exponential_spec.rb:90:in `block (3 levels) in <top (required)>
Hi again,
After adding the requirement for weibull, I have now two more tests failing: