public C_Parameterized_Test_With_Properties(SheepishTestCase testCase) { this.testCase = testCase; isSheepBleat = Sheepish.IsSheepBleat(testCase.Text); }
public void SheepBleatDetection(SheepishTestCase testCase) => Assert.AreEqual( Regex.IsMatch(testCase.Text, @"^baa+$"), Sheepish.IsSheepBleat(testCase.Text), testCase.Reason);
[Property(Arbitrary = new[] { typeof(G_Property_Tests_With_Oracle) })] // * public void SheepBleatAssertion(SheepishTestCase nearlySheepish) => Assert.AreEqual( Regex.IsMatch(nearlySheepish.Text, @"^baa+$"), Sheepish.IsSheepBleat(nearlySheepish.Text));
[Property(Arbitrary = new[] { typeof(G_Property_Tests_With_Oracle) })] // * public bool SheepBleatExpression(SheepishTestCase nearlySheepish) => Regex.IsMatch(nearlySheepish.Text, @"^baa+$") == Sheepish.IsSheepBleat(nearlySheepish.Text);
public void SheepBleatDetection(SheepishTestCase testCase) => Assert.AreEqual( testCase.IsSheepBleat, Sheepish.IsSheepBleat(testCase.Text), testCase.Reason);
public D_Parameterized_Test_With_Generators(SheepishTestCase testCase) { this.testCase = testCase; isSheepBleat = Sheepish.IsSheepBleat(testCase.Text); }