mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 10:47:22 +09:00
Fixed TestCatcherCatchWidth failing
This commit is contained in:
parent
6d7d80a4fb
commit
ca9fe9f240
@ -108,14 +108,14 @@ namespace osu.Game.Rulesets.Catch.Tests
|
|||||||
float halfWidth = Catcher.CalculateCatchWidth(new BeatmapDifficulty { CircleSize = 0 }) / 2;
|
float halfWidth = Catcher.CalculateCatchWidth(new BeatmapDifficulty { CircleSize = 0 }) / 2;
|
||||||
AddStep("catch fruit", () =>
|
AddStep("catch fruit", () =>
|
||||||
{
|
{
|
||||||
attemptCatch(new Fruit { X = -halfWidth + 1 });
|
attemptCatch(new Fruit { OriginalX = -halfWidth + 1 });
|
||||||
attemptCatch(new Fruit { X = halfWidth - 1 });
|
attemptCatch(new Fruit { OriginalX = halfWidth - 1 });
|
||||||
});
|
});
|
||||||
checkPlate(2);
|
checkPlate(2);
|
||||||
AddStep("miss fruit", () =>
|
AddStep("miss fruit", () =>
|
||||||
{
|
{
|
||||||
attemptCatch(new Fruit { X = -halfWidth - 1 });
|
attemptCatch(new Fruit { OriginalX = -halfWidth - 1 });
|
||||||
attemptCatch(new Fruit { X = halfWidth + 1 });
|
attemptCatch(new Fruit { OriginalX = halfWidth + 1 });
|
||||||
});
|
});
|
||||||
checkPlate(2);
|
checkPlate(2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user