mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 14:47:25 +08:00
Fix code inspect issues and SR test cases
This commit is contained in:
parent
25976e1f10
commit
47781a8f94
@ -16,13 +16,13 @@ namespace osu.Game.Rulesets.Taiko.Tests
|
|||||||
{
|
{
|
||||||
protected override string ResourceAssembly => "osu.Game.Rulesets.Taiko";
|
protected override string ResourceAssembly => "osu.Game.Rulesets.Taiko";
|
||||||
|
|
||||||
[TestCase(3.1098944660126882d, 200, "diffcalc-test")]
|
[TestCase(3.0920212594351191d, 200, "diffcalc-test")]
|
||||||
[TestCase(3.1098944660126882d, 200, "diffcalc-test-strong")]
|
[TestCase(3.0920212594351191d, 200, "diffcalc-test-strong")]
|
||||||
public void Test(double expectedStarRating, int expectedMaxCombo, string name)
|
public void Test(double expectedStarRating, int expectedMaxCombo, string name)
|
||||||
=> base.Test(expectedStarRating, expectedMaxCombo, name);
|
=> base.Test(expectedStarRating, expectedMaxCombo, name);
|
||||||
|
|
||||||
[TestCase(4.0974106752474251d, 200, "diffcalc-test")]
|
[TestCase(4.0789820318081444d, 200, "diffcalc-test")]
|
||||||
[TestCase(4.0974106752474251d, 200, "diffcalc-test-strong")]
|
[TestCase(4.0789820318081444d, 200, "diffcalc-test-strong")]
|
||||||
public void TestClockRateAdjusted(double expectedStarRating, int expectedMaxCombo, string name)
|
public void TestClockRateAdjusted(double expectedStarRating, int expectedMaxCombo, string name)
|
||||||
=> Test(expectedStarRating, expectedMaxCombo, name, new TaikoModDoubleTime());
|
=> Test(expectedStarRating, expectedMaxCombo, name, new TaikoModDoubleTime());
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Evaluators
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines the number of fingers available to hit the current <see cref="TaikoDifficultyHitObject"/>.
|
/// Determines the number of fingers available to hit the current <see cref="TaikoDifficultyHitObject"/>.
|
||||||
/// Any mono notes that is more than 300ms apart from a colour change will be considered to have more than 2
|
/// Any mono notes that is more than 300ms apart from a colour change will be considered to have more than 2
|
||||||
/// fingers available, since players can hit the same key with multiple fingers.
|
/// fingers available, since players can hit the same key with multiple fingers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static int availableFingersFor(TaikoDifficultyHitObject hitObject)
|
private static int availableFingersFor(TaikoDifficultyHitObject hitObject)
|
||||||
|
Loading…
Reference in New Issue
Block a user