Beispiel #1
0
        public void convertionTemp()
        {
            ConversionWight conversionWight = new ConversionWight();
            double          output          = conversionWight.tempConversion(212, Temparature.Faherenheit, Temparature.celsius);

            Assert.AreEqual(100, output, 0.01);
        }
Beispiel #2
0
        public void addition4()
        {
            ConversionWight conversionWight = new ConversionWight();
            double          output          = conversionWight.Addition(1, Weight.tonne, 1000, Weight.grams);

            Assert.AreEqual(1001, output, 0.01);
        }