Sha256: 21bdbffc5aebb4123d6f8f94a5da550f3e07e9f08c93902ff5e32d9297fa8cf5

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

require 'minitest/autorun'

require 'gsl'

class StatsTest < MiniTest::Unit::TestCase

  def test_variance_with_fixed_mean
    v = GSL::Vector[1..8]
    assert_raises(ArgumentError, 'check for no args') do
      # This exposes a segfault(!)
      v.variance_with_fixed_mean
    end
  end

end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
gsl-nmatrix-1.15.3.2 tests/stats_mt.rb
gsl-nmatrix-1.15.3.1 tests/stats_mt.rb
rb-gsl-1.15.3.1 tests/stats_mt.rb
blackwinter-gsl-1.15.3.2 tests/stats_mt.rb
gsl-nmatrix-1.15.3.0 tests/stats_mt.rb
gsl-1.15.3 tests/stats_mt.rb