File: histo_test.rb

package info (click to toggle)
ruby-gsl 2.1.0.3%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,604 kB
  • sloc: ansic: 62,050; ruby: 15,845; sh: 19; makefile: 10
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