Example #1
0
        public void AutopilotActivate_1and1_falseReturned()
        {
            // arrange
            bool turbulance             = true;
            bool shortDistanceToAirport = true;
            bool expected = false;


            //act
            Plane plane  = new Plane();
            bool  actual = plane.AutopilotActivate(turbulance, shortDistanceToAirport);

            //assert
            Assert.AreEqual(expected, actual);
        }