From 1b890808ea6bd4c2834c339f7ec2903170b00cf5 Mon Sep 17 00:00:00 2001 From: Daniel Dugovic Date: Sun, 1 Dec 2024 04:57:06 -0600 Subject: [PATCH] Explicitly define baseline using zero color advantage --- .../rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-kit/src/test/scala/rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala b/test-kit/src/test/scala/rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala index 180630c3..30eacb24 100644 --- a/test-kit/src/test/scala/rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala +++ b/test-kit/src/test/scala/rating/glicko/GlickoCalculatorWithColorAdvantageTest.scala @@ -11,7 +11,8 @@ class GlickoCalculatorWithColorAdvantageTest extends ScalaCheckSuite with chess. val V: Double = 0.06d val calc = GlickoCalculator( - ratingPeriodsPerDay = RatingPeriodsPerDay(0.21436d) + ratingPeriodsPerDay = RatingPeriodsPerDay(0.21436d), + colorAdvantage = ColorAdvantage.zero ) val calcWithAdvantage = GlickoCalculator(