public void BeforeTest() { WindowsFormsApplication1.Network network = new WindowsFormsApplication1.Network(); WindowsFormsApplication1.NetworkMonitoringSystem system = new WindowsFormsApplication1.NetworkMonitoringSystem(network); devices = system.GetStructDevice(); devicerepos = new WindowsFormsApplication1.DeviceRepository(devices); }
public void TestStructure() { Assert.That(System.GetStructDevice(), Is.Not.Empty); Assert.That(System.GetStructDevice(), Is.Unique); }