mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 12:22:56 +08:00
Be explicit in test
This commit is contained in:
parent
99e8b2ce70
commit
a1106d0a4e
@ -53,7 +53,7 @@ namespace osu.Game.Tests.Mods
|
|||||||
modInt.CopyCommonSettingsFrom(modBool);
|
modInt.CopyCommonSettingsFrom(modBool);
|
||||||
|
|
||||||
Assert.That(modDouble.TestSetting.Value, Is.EqualTo(setting_change));
|
Assert.That(modDouble.TestSetting.Value, Is.EqualTo(setting_change));
|
||||||
Assert.That(modBool.TestSetting.Value, Is.EqualTo(!modBool.TestSetting.Default));
|
Assert.That(modBool.TestSetting.Value, Is.EqualTo(true));
|
||||||
Assert.That(modInt.TestSetting.Value, Is.EqualTo((int)setting_change / 2));
|
Assert.That(modInt.TestSetting.Value, Is.EqualTo((int)setting_change / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user