added minor unit test

finished implementation of xmlrate.rb
This commit is contained in:
swaits committed 2005-05-11 23:32:34 +00:00
1 parent 1d7fe55032
commit f88f2d020b
2 files changed
+107 -62

No files matched your search

+6
View File
@@ -22,6 +22,12 @@ class TestGlicko2 < Test::Unit::TestCase
assert_in_delta(1464.05,a.rating,0.01)
assert_in_delta(151.516,a.deviation,0.01)
a.update()
assert_in_delta(1464.05,a.rating,0.01)
assert_in_delta(151.516,a.deviation,0.01)
end
end