Sha256: 8ffb146d586ea810f7e9cf76f1fd8eeb3eba089de3242a1834794c4adb0d67b6
Contents?: true
Size: 222 Bytes
Versions: 1
Compression:
Stored size: 222 Bytes
Contents
require 'test_helper' class TestFigures < Test::Unit::TestCase def setup end def test_jaccard_best_match a = [1, 2, 3] b = [1, 2] c = [1, 3] assert_equal([[1, 2, 3], [1, 2]], Jaccard.best_match([a, b, c]) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crosslanguagespotter-0.0.3-java | test/test_figures.rb |