mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Apply brace style.
This commit is contained in:
@ -72,11 +72,15 @@ namespace osu.Game.Tests.Beatmaps
|
||||
break;
|
||||
|
||||
if (objectCounter >= ourMapping.Objects.Count)
|
||||
{
|
||||
Assert.Fail($"The conversion did not generate a hitobject, but should have, for hitobject at time: {expectedMapping.StartTime}:\n"
|
||||
+ $"Expected: {JsonConvert.SerializeObject(expectedMapping.Objects[objectCounter])}\n");
|
||||
}
|
||||
else if (objectCounter >= expectedMapping.Objects.Count)
|
||||
{
|
||||
Assert.Fail($"The conversion generated a hitobject, but should not have, for hitobject at time: {ourMapping.StartTime}:\n"
|
||||
+ $"Received: {JsonConvert.SerializeObject(ourMapping.Objects[objectCounter])}\n");
|
||||
}
|
||||
else if (!expectedMapping.Objects[objectCounter].Equals(ourMapping.Objects[objectCounter]))
|
||||
{
|
||||
Assert.Fail($"The conversion generated differing hitobjects for object at time: {expectedMapping.StartTime}:\n"
|
||||
|
@ -38,8 +38,10 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
cells = new Drawable[rows, cols];
|
||||
for (int r = 0; r < rows; r++)
|
||||
for (int c = 0; c < cols; c++)
|
||||
cells[r, c] = new Container { RelativeSizeAxes = Axes.Both };
|
||||
{
|
||||
for (int c = 0; c < cols; c++)
|
||||
cells[r, c] = new Container { RelativeSizeAxes = Axes.Both };
|
||||
}
|
||||
|
||||
testContainer.Content = cells.ToJagged();
|
||||
}
|
||||
|
Reference in New Issue
Block a user