public void IsPluggedInTest() { PowerRelated powerRelated = new PowerRelated(); powerGrid.PlugIn(powerRelated); Assert.AreEqual(1, gridHashSet.Count); Assert.IsTrue(powerGrid.IsPluggedIn(powerRelated)); }
public void IsPluggedInTest() { PowerRelated powerRelated = new PowerRelated(); powerGrid.PlugIn(powerRelated); Assert.AreEqual(1, gridHashSet.Count); Assert.IsTrue(powerGrid.IsPluggedIn(powerRelated)); }