public void TestThatHousesEqualsTwo() { IList <House> houses = _generateData.GetHomes(); Assert.True(houses.Count == 2); Assert.False(houses.Count == 1); }
public IList <House> GetHomes() { try { return(_generateData.GetHomes()); } catch (Exception e) { Console.WriteLine("Failed to retrieve homes: {0}", e); throw; } }