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
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ public void TestRetrievedRulesetsAreDetached()
{
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);
});
}
}