public void DeleteFiles_Deletes_When_Data_In_Memory() { SetupTest(); SetTestData(true); data.Save(); data.DeleteFolder(); Assert.True(data.GetPaths().Count == 0); }
public void DeleteFiles_Deletes_When_No_Data_In_Memory() { SetupTest(); SetTestData(true); data.Save(); data = new VirtualFolder(GAME_NAME, SLOT_NAME, LEVEL_NAME); data.DeleteFolder(); Assert.True(data.GetPaths().Count == 0); }
private void SetupTest() { data = new VirtualFolder(GAME_NAME, SLOT_NAME, LEVEL_NAME); data.DeleteFolder(); }