mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Fix post-test conditionals from being inverse of what we want to test
This commit is contained in:
parent
e54de0c267
commit
9ed05543d7
@ -107,9 +107,8 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
var importedSecondTime = loadOszIntoOsu(osu);
|
||||
|
||||
// check the newly "imported" beatmap is actually just the restored previous import. since it matches hash.
|
||||
Assert.IsTrue(imported.ID == importedSecondTime.ID);
|
||||
Assert.IsTrue(imported.Beatmaps.First().ID == importedSecondTime.Beatmaps.First().ID);
|
||||
|
||||
Assert.IsTrue(imported.ID != importedSecondTime.ID);
|
||||
Assert.IsTrue(imported.Beatmaps.First().ID < importedSecondTime.Beatmaps.First().ID);
|
||||
|
||||
Assert.IsTrue(manager.GetAllUsableBeatmapSets().Count == 1);
|
||||
Assert.IsTrue(manager.QueryBeatmapSets(_ => true).ToList().Count == 1);
|
||||
|
Loading…
Reference in New Issue
Block a user