public void NodesTest() { List <WorkstationInfo> actual = target.Nodes(); bool hestia1 = false; bool hestia2 = false; bool hestia01 = false; foreach (WorkstationInfo w in actual) { hestia1 = hestia1 || w.Name.Equals("hestia1"); hestia2 = hestia1 || w.Name.Equals("hestia2"); hestia01 = hestia1 || w.Name.Equals("hestia01"); } Assert.IsTrue(hestia01); Assert.IsTrue(hestia1); Assert.IsTrue(hestia2); }
public void BrightClusterConnectionWithoutInitNodesTest() { BrightClusterConnection target = new BrightClusterConnection(); target.Nodes(); }