Exemplo n.º 1
0
        public void TestGasState1(double paraA, double paraB, double paraC, double currTemp, double currPressure, string expectState)
        {
            AntoineCalc Test1 = new AntoineCalc(paraA, paraB, paraC, currTemp, currPressure);

            Test1.CalcPv();
            string actualState = Test1.CalcState();

            Assert.AreEqual(expectState, actualState);
        }
Exemplo n.º 2
0
        public void TestGasState1()
        {
            double paraA        = 8.20417;
            double paraB        = 1642.89;
            double paraC        = 230.300;
            double currTemp     = 78.32;
            double currPressure = 760;
            string expectState  = "Gas";

            AntoineCalcApp.AntoineCalc Test1 = new AntoineCalc(paraA, paraB, paraC, currTemp, currPressure);

            Test1.CalcPv();
            string actualState = Test1.CalcState();

            Assert.AreEqual(expectState, actualState);
        }