예제 #1
0
        public void PathCreationTest()
        {
            DeepDive dd = new DeepDive();

            dd.Create(3);

            Assert.IsTrue(Directory.Exists($"{dd.FullPath}"));
        }
예제 #2
0
        public void ArgumentOutOfRangeExceptionTest()
        {
            DeepDive    dd  = new DeepDive();
            DrownItDown did = new DrownItDown(dd);

            dd.Create(4);

            did.Drown(null, 8);
        }
예제 #3
0
        public void FileExistenceTest()
        {
            DeepDive    dd  = new DeepDive();
            DrownItDown did = new DrownItDown(dd);

            dd.Create(4);
            did.Drown("test", 3);

            Assert.IsTrue(File.Exists(did.FilePath));
        }
예제 #4
0
        public void ExceptionTest()
        {
            DeepDive dd = new DeepDive();

            dd.Create(15);
        }