Fix for 2 build errors (non-blocking) (#846)
* Adapt Number of Rounds Test to used logic * Add BindingRedirects * Add BindingRedirects
This commit is contained in:
1 parent
a46c7d5f09
commit
12a19b46c5
3 files changed
+26
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#region license
|
||||
#region license
|
||||
// This file is part of Vocaluxe.
|
||||
//
|
||||
// Vocaluxe is free software: you can redistribute it and/or modify
|
||||
@@ -60,8 +60,8 @@ namespace Tests.PartyModeChallenge
|
||||
CChallengeRounds rounds = new CChallengeRounds(numRounds, numPlayer, numMic);
|
||||
Assert.IsTrue(rounds.Count >= numRounds);
|
||||
_CheckRounds(rounds, numPlayer);
|
||||
Warn.If(rounds.Count != numRounds,
|
||||
$"Number of rounds does not match. Expected: {numRounds}, Is: {rounds.Count} for {numPlayer}/{((numPlayer < numMic) ? numPlayer : numMic)}");
|
||||
Assert.That(rounds.Count, Is.GreaterThanOrEqualTo(numRounds),
|
||||
$"Number of rounds should be >= {numRounds}, is {rounds.Count} for {numPlayer}/{numMic}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user