You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<winner team="TWO" regular="false" reason="Regelverletzung von Alice: Auf einem Salatfeld muss ein Salat gegessen werden bei 'Zurückfallen'"/>
117
+
</result>
118
+
""".trimIndent()
119
+
}
120
+
"work with regular result" {
121
+
game.getResult() shouldSerializeTo """
122
+
<result>
123
+
<definition>
124
+
<fragment name="Siegpunkte">
125
+
<aggregation>SUM</aggregation>
126
+
<relevantForRanking>true</relevantForRanking>
127
+
</fragment>
128
+
<fragment name="Feldnummer">
129
+
<aggregation>AVERAGE</aggregation>
130
+
<relevantForRanking>true</relevantForRanking>
131
+
</fragment>
132
+
<fragment name="Karotten">
133
+
<aggregation>AVERAGE</aggregation>
134
+
<relevantForRanking>true</relevantForRanking>
135
+
</fragment>
136
+
</definition>
137
+
<scores>
138
+
<entry>
139
+
<player name="Alice" team="ONE"/>
140
+
<score>
141
+
<part>2</part>
142
+
<part>10</part>
143
+
<part>13</part>
144
+
</score>
145
+
</entry>
146
+
<entry>
147
+
<player name="Bob" team="TWO"/>
148
+
<score>
149
+
<part>0</part>
150
+
<part>0</part>
151
+
<part>68</part>
152
+
</score>
153
+
</entry>
154
+
</scores>
155
+
<winner team="ONE" regular="true" reason="Alice ist weiter vorne."/>
0 commit comments