public void TestSplitSingleMeasurement4() { var convert = new ConvertMeasurement(); var expected = new string[] { ".33", "cups" }; var actual = convert.SplitMeasurement(".33 cups"); Assert.AreEqual(expected, actual); }
public void TestSplitSingleMeasurement2() { var convert = new ConvertMeasurement(); var expected = new string[] { "1", "tablespoon" }; var actual = convert.SplitMeasurement("1 tablespoon"); Assert.AreEqual(expected, actual); }