public void CheckEmptyFile() { string filePath = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, ConfigurationManager.AppSettings["relativeFilePath"].ToString() + "EmptyFileTest.txt")); PyramidData pyramidData = new PyramidData(filePath); Assert.AreEqual(0, pyramidData.ReadByLines().ToList().Count); }
public void CheckIfFileExists() { PyramidData pyramidData = new PyramidData(); pyramidData.ReadByLines().ToList(); }
public void CheckInitialization() { PyramidData pyramidData = new PyramidData(null); pyramidData.ReadByLines().ToList(); }