public C_Parameterized_Test_With_Properties(SheepishTestCase testCase)
 {
     this.testCase = testCase;
     isSheepBleat  = Sheepish.IsSheepBleat(testCase.Text);
 }
Ejemplo n.º 2
0
 public void SheepBleatDetection(SheepishTestCase testCase) =>
 Assert.AreEqual(
     Regex.IsMatch(testCase.Text, @"^baa+$"),
     Sheepish.IsSheepBleat(testCase.Text), testCase.Reason);
Ejemplo n.º 3
0
 [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));
Ejemplo n.º 4
0
 [Property(Arbitrary = new[] { typeof(G_Property_Tests_With_Oracle) })] // *
 public bool SheepBleatExpression(SheepishTestCase nearlySheepish) =>
 Regex.IsMatch(nearlySheepish.Text, @"^baa+$")
 == Sheepish.IsSheepBleat(nearlySheepish.Text);
Ejemplo n.º 5
0
 public void SheepBleatDetection(SheepishTestCase testCase) =>
 Assert.AreEqual(
     testCase.IsSheepBleat,
     Sheepish.IsSheepBleat(testCase.Text), testCase.Reason);
Ejemplo n.º 6
0
 public D_Parameterized_Test_With_Generators(SheepishTestCase testCase)
 {
     this.testCase = testCase;
     isSheepBleat  = Sheepish.IsSheepBleat(testCase.Text);
 }