Beispiel #1
0
        public void TestArgumentNoExistFilePathCheck()
        {
            try
            {
                ImageConverterLogic.FlipHorizontal(@"C:\hogehoge.png");
            }
            catch (FileNotFoundException)
            {
                return;
            }

            Assert.Fail("Exceptionが発生しなかった");
        }
Beispiel #2
0
        public void TestArgumentNullCheck()
        {
            try
            {
                ImageConverterLogic.FlipHorizontal(null);
            }
            catch (NullReferenceException)
            {
                return;
            }

            Assert.Fail("Exceptionが発生しなかった");
        }