Skip to content

Commit 1b89080

Browse files
committed
Explicitly define baseline using zero color advantage
1 parent 38c598e commit 1b89080

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-kit/src/test/scala/rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ class GlickoCalculatorWithColorAdvantageTest extends ScalaCheckSuite with chess.
1111
val V: Double = 0.06d
1212

1313
val calc = GlickoCalculator(
14-
ratingPeriodsPerDay = RatingPeriodsPerDay(0.21436d)
14+
ratingPeriodsPerDay = RatingPeriodsPerDay(0.21436d),
15+
colorAdvantage = ColorAdvantage.zero
1516
)
1617

1718
val calcWithAdvantage = GlickoCalculator(

0 commit comments

Comments
 (0)