1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:43:21 +08:00

Add better asserts

This commit is contained in:
David Zhao 2019-08-06 10:39:54 +09:00
parent b8c38d4dfd
commit 2c32d886d7

View File

@ -496,6 +496,8 @@ namespace osu.Game.Tests.Beatmaps.Formats
var goodBeatmap = decoder.Decode(normalStream);
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);
}
}