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