Skip to content

Commit

Permalink
Fix covariant array spec in new test
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jul 16, 2023
1 parent 041e818 commit 416ee0d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using NUnit.Framework;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Mods;
Expand Down Expand Up @@ -180,7 +181,7 @@ public void TestStrongHitOneKeyWithHidden()
{
new TaikoReplayFrame(0),
new TaikoReplayFrame(hit_time + hitWindows.WindowFor(HitResult.Ok) - 1, TaikoAction.LeftCentre),
}, beatmap, new[] { new TaikoModHidden() });
}, beatmap, new Mod[] { new TaikoModHidden() });

AssertJudgementCount(2);
AssertResult<Hit>(0, HitResult.Ok);
Expand All @@ -207,7 +208,7 @@ public void TestStrongHitTwoKeysWithHidden()
new TaikoReplayFrame(0),
new TaikoReplayFrame(hit_time + hitWindows.WindowFor(HitResult.Ok) - 1, TaikoAction.LeftCentre),
new TaikoReplayFrame(hit_time + hitWindows.WindowFor(HitResult.Ok) + DrawableHit.StrongNestedHit.SECOND_HIT_WINDOW - 2, TaikoAction.LeftCentre, TaikoAction.RightCentre),
}, beatmap, new[] { new TaikoModHidden() });
}, beatmap, new Mod[] { new TaikoModHidden() });

AssertJudgementCount(2);
AssertResult<Hit>(0, HitResult.Ok);
Expand Down

0 comments on commit 416ee0d

Please sign in to comment.