added minor unit test
finished implementation of xmlrate.rb
This commit is contained in:
1 parent
1d7fe55032
commit
f88f2d020b
2 files changed
+107
-62
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user