Skip to content

Commit 2d58134

Browse files
committedSep 2, 2015
Removed two player tests again.
Code is not yet ready, and some other things need to be implemented and tested first.
1 parent 2fafa55 commit 2d58134

File tree

4 files changed

+4
-63
lines changed

4 files changed

+4
-63
lines changed
 

‎draws_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const (
99
errTolerance float64 = 1e-06
1010
)
1111

12-
func TestDrawMargin(t *testing.T) {
12+
func TestDrawMarginFromDrawProbability(t *testing.T) {
1313
beta := 25.0 / 6
1414

1515
pDraw := []float64{
16-
0.1,
16+
0.10,
1717
0.25,
1818
0.33}
1919
epsilon := []float64{

‎game.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ func NewGame(beta, tau, pDraw float64) Game {
5454

5555
// CalcNewRatings processes teams/players based on their ranks and
5656
// updates their skills accordingly
57-
func (g *Game) CalcNewRatings(teams []Team, ranks []int) (err error) {
58-
// TODO: implement me
57+
func (g *Game) CalcNewRatings(teams []Team, ranks []int) (t []Team, err error) {
58+
// TODO
5959
return
6060
}
6161

‎game_test.go

-48
This file was deleted.

‎twoplayers_test.go

-11
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.