1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Rename tests

This commit is contained in:
smoogipoo 2019-11-05 22:50:01 +09:00
parent f2118b0eba
commit d028603769

View File

@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Osu.Tests
}); });
[Test] [Test]
public void TestAddSingleHitCircle() public void TestAddObject()
{ {
addObjectsStep(() => new OsuHitObject[] { new HitCircle { Position = new Vector2(100, 100) } }); addObjectsStep(() => new OsuHitObject[] { new HitCircle { Position = new Vector2(100, 100) } });
@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestRemoveSingleHitCircle() public void TestRemoveObject()
{ {
addObjectsStep(() => new OsuHitObject[] { new HitCircle { Position = new Vector2(100, 100) } }); addObjectsStep(() => new OsuHitObject[] { new HitCircle { Position = new Vector2(100, 100) } });
@ -49,7 +49,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestAddMultipleHitCircles() public void TestAddMultipleObjects()
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestRemoveEndHitCircle() public void TestRemoveEndObject()
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();
@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestRemoveStartHitCircle() public void TestRemoveStartObject()
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();
@ -77,7 +77,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestRemoveMiddleHitCircle() public void TestRemoveMiddleObject()
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();
@ -87,7 +87,7 @@ namespace osu.Game.Rulesets.Osu.Tests
} }
[Test] [Test]
public void TestMoveHitCircle() public void TestMoveObject()
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();
@ -105,7 +105,7 @@ namespace osu.Game.Rulesets.Osu.Tests
[TestCase(4, 0)] // End -> Start [TestCase(4, 0)] // End -> Start
[TestCase(4, 2)] // End -> Middle [TestCase(4, 2)] // End -> Middle
[TestCase(4, 4)] // End -> End [TestCase(4, 4)] // End -> End
public void TestReorderHitObjects(int startIndex, int endIndex) public void TestReorderObjects(int startIndex, int endIndex)
{ {
addMultipleObjectsStep(); addMultipleObjectsStep();