mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 02:32:55 +08:00
Remove unused method
This commit is contained in:
parent
aa151e4cd7
commit
8151aa6ed8
@ -1,7 +1,6 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
@ -60,12 +59,6 @@ namespace osu.Game.Rulesets.Mania.Tests
|
|||||||
() => judgementResults.Single(r => r.HitObject == hitObject).Type == result);
|
() => judgementResults.Single(r => r.HitObject == hitObject).Type == result);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addJudgementAssert(string name, Func<ManiaHitObject> hitObject, HitResult result)
|
|
||||||
{
|
|
||||||
AddAssert($"{name} judgement is {result}",
|
|
||||||
() => judgementResults.Single(r => r.HitObject == hitObject()).Type == result);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void addJudgementOffsetAssert(ManiaHitObject hitObject, double offset)
|
private void addJudgementOffsetAssert(ManiaHitObject hitObject, double offset)
|
||||||
{
|
{
|
||||||
AddAssert($"({hitObject.GetType().ReadableName()} @ {hitObject.StartTime}) judged at {offset}",
|
AddAssert($"({hitObject.GetType().ReadableName()} @ {hitObject.StartTime}) judged at {offset}",
|
||||||
|
Loading…
Reference in New Issue
Block a user