1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Be explicit in test

This commit is contained in:
Bartłomiej Dach 2023-05-04 19:14:20 +02:00
parent 99e8b2ce70
commit a1106d0a4e
No known key found for this signature in database

View File

@ -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));
} }