public void Initialize_CreateAsManyValvesAsChannelCount(int channelsCount, int expectedValvesCount) { //Act valveManager.Initialize(channelsCount); //Assert Assert.AreEqual(expectedValvesCount, valveManager.valves.Count); }
public void Initialize_CreatesAsManyValvesAsNumberOfChannels(int numberOfChannels) { valveManager.Initialize(numberOfChannels); Assert.AreEqual(numberOfChannels, valveManager.valves.Count); }