Ejemplo n.º 1
0
        public void CalcVal_magnitydezero_shouldbenegative()
        {
            //arguments
            ValueController Val  = new ValueController();
            Value           qwe  = Value.Foot;
            Value           wer  = Value.Metr;
            double          vars = 0;
            //call
            double result = Val.CalcVal(qwe, wer, vars);

            //Expect
            Assert.AreEqual(-1, result);
        }