コード例 #1
0
        public void TestGallonsToOunces3()
        {
            var convert  = new ConvertWeight();
            var expected = 966.40m;
            var actual   = convert.GallonsToOunces(7.55m);

            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
        public void TestGallonsToOunces2()
        {
            var convert  = new ConvertWeight();
            var expected = 192m;
            var actual   = convert.GallonsToOunces(1.5m);

            Assert.AreEqual(expected, actual);
        }