public void IsNotNumeric_Invoke_IsNotNumeric_ReturnsFalse() { //------------Setup for test-------------------------- var notStartsWith = new IsNotNumeric(); var cols = new string[2]; cols[0] = "324"; //------------Execute Test--------------------------- var result = notStartsWith.Invoke(cols); //------------Assert Results------------------------- Assert.IsFalse(result); }
public void GivenSomeString_IsNotNumeric_Invoke_ReturnsTrue() { //------------Setup for test-------------------------- var isNotNumeric = new IsNotNumeric(); var cols = new string[2]; cols[0] = "Eight"; //------------Execute Test--------------------------- var result = isNotNumeric.Invoke(cols); //------------Assert Results------------------------- Assert.IsTrue(result); }