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

Simplify slightly redundant assertions

This commit is contained in:
Bartłomiej Dach 2021-12-04 14:42:01 +01:00
parent 2acf46154a
commit 16fd7f5a28
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -45,9 +45,9 @@ namespace osu.Game.Tests.Database
{
var rulesets = new RealmRulesetStore(realmFactory, storage);
Assert.IsTrue(rulesets.AvailableRulesets.First().IsManaged == false);
Assert.IsTrue(rulesets.GetRuleset(0)?.IsManaged == false);
Assert.IsTrue(rulesets.GetRuleset("mania")?.IsManaged == false);
Assert.IsFalse(rulesets.AvailableRulesets.First().IsManaged);
Assert.IsFalse(rulesets.GetRuleset(0)?.IsManaged);
Assert.IsFalse(rulesets.GetRuleset("mania")?.IsManaged);
});
}
}