よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public void minimum_item_count() { var pass = Check.That(subject).container[Should.HaveAtLeast(2)]; var fail = Check.That(subject).container[Should.HaveAtLeast(42)]; Assert.That(pass.Success); Assert.That(fail.Success, Is.False); Assert.That(fail.Reasons, Contains.Item("Outer.container should have at least 42 items")); }