public void TestAdjustMeasurement4() { var convert = new ConvertMeasurementCalculations(); var expected = "1 1/2 cups 1 1/2 teaspoons"; var actual = convert.AdjustMeasurement("6 cups 2 tablespoons", 8, 32); Assert.AreEqual(expected, actual); }
public void TestAdjustMeasurement2() { var convert = new ConvertMeasurementCalculations(); var expected = "1 tablespoon 1 teaspoon"; var actual = convert.AdjustMeasurement("2 teaspoons", 4m, 2m); Assert.AreEqual(expected, actual); }