File: histo_test.rb

package info (click to toggle)
ruby-gsl 2.1.0.3%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,984 kB
  • sloc: ansic: 62,039; ruby: 15,844; sh: 19; makefile: 12
file content (14 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'test_helper'

class HistoTest < GSL::TestCase

  def test_histo
    h = GSL::Histogram.alloc(10, [0, 10])

    assert h
    assert h.get_range(2)
    assert h.range
    assert h.bin
  end

end