Sha256: 725e4f0512f4370f0a42247de31aa9faa5ed4de6e59dcb1ba2a263ae538c22d2

Contents?: true

Size: 181 Bytes

Versions: 4

Compression:

Stored size: 181 Bytes

Contents

covers 'facets/numeric/distance'

testcase Numeric do

  unit :distance do
    10.distance(6).assert == 4
    10.distance(8).assert == 2
     7.distance(9).assert == -2
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/numeric/test_distance.rb
facets-2.9.0 test/core/numeric/test_distance.rb
facets-2.9.0.pre.2 test/core/numeric/test_distance.rb
facets-2.9.0.pre.1 test/core/numeric/test_distance.rb