public void Expected_Format_Returns_True() { JSONData data = new JSONData(); var error = data.CreateData("..\\..\\JSONTestFiles\\Ringer.json"); Assert.AreEqual(error, true); }
public void Missing_Reservation_List_Returns_False() { JSONData data = new JSONData(); var error = data.CreateData("..\\..\\JSONTestFiles\\NoReservations.json"); Assert.AreEqual(error, false); }
public void Blank_File_Returns_False() { JSONData data = new JSONData(); var error = data.CreateData("..\\..\\JSONTestFiles\\Blank.json"); Assert.AreEqual(error, false); }
public void Missing_Search_Parameters_Returns_False() { JSONData data = new JSONData(); var error = data.CreateData("..\\..\\JSONTestFiles\\NoDateTest.json"); Assert.AreEqual(error, false); }