예제 #1
0
        public void TestASMNotNull()
        {
            //arrange
            double i = 3;
            double j = 3;

            //act
            DefaultStrategy def    = new DefaultStrategy();
            int             actual = def.ASM(i, j);

            //assert
            Assert.IsNotNull(actual);
        }
예제 #2
0
        public void TestASMjlLessi()
        {
            //arrange
            double i        = 4;
            double j        = 3;
            int    expected = 144;

            //act
            DefaultStrategy def    = new DefaultStrategy();
            int             actual = def.ASM(i, j);

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