Skip to content

Instantly share code, notes, and snippets.

@envp
Last active January 19, 2016 17:16
Show Gist options
  • Select an option

  • Save envp/a6b011cb6fe79eed9104 to your computer and use it in GitHub Desktop.

Select an option

Save envp/a6b011cb6fe79eed9104 to your computer and use it in GitHub Desktop.
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Distribution::Uniform singleton it should behave like uniform engine .rng should generate sequences with the right mean & variance
# This method is very innacurrate due to the low convergence rate
# ./spec/uniform_spec.rb:8
2) Distribution::Uniform Distribution::Uniform::Ruby_ it should behave like uniform engine .rng should generate sequences with the right mean & variance
# This method is very innacurrate due to the low convergence rate
# ./spec/uniform_spec.rb:8
3) Distribution::Uniform Distribution::Uniform::GSL_ it should behave like uniform engine .rng should generate sequences with the right mean & variance
# This method is very innacurrate due to the low convergence rate
# ./spec/uniform_spec.rb:8
Failures:
1) Distribution::Uniform singleton it should behave like uniform engine .rng with a specified seed should be reproducible
Failure/Error: rng = GSL::Rng.alloc(GSL::Rng::MT19937, seed)
RangeError:
bignum too big to convert into `long'
Shared Example Group: "uniform engine" called from ./spec/uniform_spec.rb:134
# ./lib/distribution/uniform/gsl.rb:10:in `alloc'
# ./lib/distribution/uniform/gsl.rb:10:in `rng'
# ./lib/distribution/distributable.rb:22:in `block (3 levels) in create_distribution_methods'
# ./spec/uniform_spec.rb:35:in `block (3 levels) in <top (required)>'
2) Distribution::Uniform Distribution::Uniform::Ruby_ it should behave like uniform engine .rng with a specified seed should be reproducible
Failure/Error: (gen_a.call).should eq(gen_b.call)
expected: 0.9962927622009027
got: 0.07745094671119623
(compared using ==)
Shared Example Group: "uniform engine" called from ./spec/uniform_spec.rb:141
# ./spec/uniform_spec.rb:38:in `block (3 levels) in <top (required)>'
3) Distribution::Uniform Distribution::Uniform::GSL_ it should behave like uniform engine .rng with a specified seed should be reproducible
Failure/Error: rng = GSL::Rng.alloc(GSL::Rng::MT19937, seed)
RangeError:
bignum too big to convert into `long'
Shared Example Group: "uniform engine" called from ./spec/uniform_spec.rb:150
# ./lib/distribution/uniform/gsl.rb:10:in `alloc'
# ./lib/distribution/uniform/gsl.rb:10:in `rng'
# ./spec/uniform_spec.rb:35:in `block (3 levels) in <top (required)>'
Finished in 0.07578 seconds (files took 0.31178 seconds to load)
27 examples, 3 failures, 3 pending
Failed examples:
rspec ./spec/uniform_spec.rb[1:1:1:2] # Distribution::Uniform singleton it should behave like uniform engine .rng with a specified seed should be reproducible
rspec ./spec/uniform_spec.rb[1:2:1:2] # Distribution::Uniform Distribution::Uniform::Ruby_ it should behave like uniform engine .rng with a specified seed should be reproducible
rspec ./spec/uniform_spec.rb[1:3:1:2] # Distribution::Uniform Distribution::Uniform::GSL_ it should behave like uniform engine .rng with a specified seed should be reproducible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment