public TestCaseDemo() { test = new StringList(){MyStrings = new List<string>(){"2"}}; }
public int G_WithTestCaseSource(StringList testData, int denominator) { var myTestInt = Convert.ToInt32(testData.MyStrings[0]); return myTestInt / denominator; }
public int K_WithTestCaseSource_NoConversion(StringList testData, int denominator) { var myTestWithArray = (StringArray)Convert.ChangeType(testData, typeof(StringArray)); var myTestInt = Convert.ToInt32(myTestWithArray.MyStrings[0]); return myTestInt / denominator; }
public void F_WithTestCaseSource(StringList testData) { Assert.That(testData != null); }