public void TestSplittingEggMeasurements7() { var convert = new ConvertMeasurement(); var expected = new string[] { "6", "egg yolks" }; var actual = convert.SplitAndAdjustEggMeasurement("2 egg yolks", 3); Assert.AreEqual(expected, actual); }
public void TestSplittingEggMeasurements5() { var convert = new ConvertMeasurement(); var expected = new string[] { "256.125", "eggs" }; var actual = convert.SplitAndAdjustEggMeasurement("256 1/8 eggs", 1); Assert.AreEqual(expected, actual); }
public void TestSplittingEggMeasurements6() { var convert = new ConvertMeasurement(); var expected = new string[] { "16", "egg whites" }; var actual = convert.SplitAndAdjustEggMeasurement("4 egg whites", 4); Assert.AreEqual(expected, actual); }
public void TestSplittingEggMeasurement() { var convert = new ConvertMeasurement(); var expected = new string[] { "2", "eggs" }; //var expected = "2 eggs"; var actual = convert.SplitAndAdjustEggMeasurement("1 eggs", 2); Assert.AreEqual(expected, actual); }