Sha256: 572e7d60814b9309e1893ab30d05044ba27af16d4596d8114033bfbc217899e6

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_helper'))

class TestScore < Test::Unit::TestCase
  def setup
    @score = OmniCat::Score.new(key: 'pos', value: 0.43)
  end

  def test_percentage
    assert_equal(0, @score.percentage)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omnicat-0.3.0 test/unit/score_test.rb