public void IsValidFolderEmptyTest() { using (TileGeneratorViewModel_Accessor target = new TileGeneratorViewModel_Accessor()) { string outputPath = string.Empty; bool expected = false; bool actual; actual = target.IsValidFolder(outputPath); Assert.AreEqual(expected, actual); } }
public void IsValidFolderTest() { using (TileGeneratorViewModel_Accessor target = new TileGeneratorViewModel_Accessor()) { string outputPath = Environment.CurrentDirectory + @"\Image\L0X0Y0.Png"; bool expected = true; bool actual; actual = target.IsValidFolder(outputPath); Assert.AreEqual(expected, actual); } }