mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add better asserts
This commit is contained in:
@ -496,6 +496,8 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
|||||||
var goodBeatmap = decoder.Decode(normalStream);
|
var goodBeatmap = decoder.Decode(normalStream);
|
||||||
var badBeatmap = decoder.Decode(stream);
|
var badBeatmap = decoder.Decode(stream);
|
||||||
|
|
||||||
|
Assert.AreEqual(goodBeatmap.Breaks[0].Duration, badBeatmap.Breaks[0].Duration);
|
||||||
|
Assert.AreEqual(goodBeatmap.Metadata.BackgroundFile, badBeatmap.Metadata.BackgroundFile);
|
||||||
Assert.AreEqual(goodBeatmap.HitObjects.Count, badBeatmap.HitObjects.Count);
|
Assert.AreEqual(goodBeatmap.HitObjects.Count, badBeatmap.HitObjects.Count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user