public void GetAll_Test() { // Act IList <DeviceInfo> devs = deviceRepository.GetAll().ToList(); Assert.IsNotNull(devs); Assert.IsTrue(devs.Count == 2); for (int i = 0; i < devices.Count; i++) { Assert.AreEqual(devs[i], devices[i]); } }
public void GetAll_Test() { // Act IList <DeviceInfo> devs = deviceRepository.GetAll().ToList(); Assert.IsNotNull(devs); Assert.IsTrue(devs.Count == 2); for (int i = 0; i < devices.Count; i++) { Assert.AreEqual(devs[i], devices[i]); } }