mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:52:55 +08:00
Simplify negative equality expression
This commit is contained in:
parent
1bebda61f8
commit
ee7db92e6b
@ -188,7 +188,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
AddAssert("check for ranked", () => modSelect.RankedLabel.Alpha == 0);
|
AddAssert("check for ranked", () => modSelect.RankedLabel.Alpha == 0);
|
||||||
selectNext(mod);
|
selectNext(mod);
|
||||||
AddWaitStep(1, "wait for fade");
|
AddWaitStep(1, "wait for fade");
|
||||||
AddAssert("check for unranked", () => !(modSelect.RankedLabel.Alpha == 0));
|
AddAssert("check for unranked", () => modSelect.RankedLabel.Alpha != 0);
|
||||||
selectPrevious(mod);
|
selectPrevious(mod);
|
||||||
AddWaitStep(1, "wait for fade");
|
AddWaitStep(1, "wait for fade");
|
||||||
AddAssert("check for ranked", () => modSelect.RankedLabel.Alpha == 0);
|
AddAssert("check for ranked", () => modSelect.RankedLabel.Alpha == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user