mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +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);
|
||||
selectNext(mod);
|
||||
AddWaitStep(1, "wait for fade");
|
||||
AddAssert("check for unranked", () => !(modSelect.RankedLabel.Alpha == 0));
|
||||
AddAssert("check for unranked", () => modSelect.RankedLabel.Alpha != 0);
|
||||
selectPrevious(mod);
|
||||
AddWaitStep(1, "wait for fade");
|
||||
AddAssert("check for ranked", () => modSelect.RankedLabel.Alpha == 0);
|
||||
|
Loading…
Reference in New Issue
Block a user