Exemplo n.º 1
0
        public void Form2Test()
        {
            MovieStoreDataConnection instance = new MovieStoreDataConnection();
            int g = instance.checkMovieStatus(1);

            if (g == 0)
            {
                Assert.IsTrue(true);
            }
            else
            {
                Assert.IsTrue(false);
            }
        }
Exemplo n.º 2
0
        public void Form1Test()
        {
            MovieStoreDataConnection instance = new MovieStoreDataConnection();
            int g = instance.calcuateCharges(2018);

            if (g == 2 || g == 5)
            {
                Assert.IsTrue(true);
            }
            else
            {
                Assert.IsTrue(false);
            }
        }