public void Test1() { //Arrange var expected = LocationSingletory.GetLocation(1); //Act var actual = LocationSingletory.GetLocation(6); //Assert Assert.Null(actual); }
public void TestName() { //Arrange var lift = new Lift(); EFloor[] eFloor = new EFloor[4]; int i = 1; while (i <= eFloor.Length) { var newFloor = LocationSingletory.GetLocation(i) as EFloor; eFloor[i - 1] = newFloor; i++; } int expected = 0; //Act //Assert }