public void Bit012_ID(uint b, uint expected) { // Act uint actual = BAI_Afteken2.ID(b); // Assert Assert.AreEqual(expected, actual); }
public void Bit3_Licht(uint b, bool expected) { // Act bool actual = BAI_Afteken2.Licht(b); // Assert Assert.AreEqual(expected, actual); }
public void Bit7_Vooruit(uint b, bool expected) { // Act bool actual = BAI_Afteken2.Vooruit(b); // Assert Assert.AreEqual(expected, actual); }
public void Bit56_Vermogen(uint b, int expected) { // Act uint actual = BAI_Afteken2.Vermogen(b); // Assert Assert.AreEqual(expected, actual); }
public void Bit4_Wagon(uint b, bool expected) { // Act bool actual = BAI_Afteken2.Wagon(b); // Assert Assert.AreEqual(expected, actual); }
public void Opg2_4_SelecteerID(string input, string expected) { // Prepare List <uint> input_array = TestUtils.UIntListFromString(input); // Act HashSet <uint> actual_set = BAI_Afteken2.SelecteerID(input_array, 0, 2); string actual = TestUtils.EnumToString(actual_set); // Assert Assert.AreEqual(expected, actual); }
public void Opg3_b_IDHoger2_MetLicht(string input, string expected) { // Prepare List <uint> input_array = TestUtils.UIntListFromString(input); // Act HashSet <uint> actual_set = BAI_Afteken2.Opg3b(input_array); string actual = TestUtils.EnumToString(actual_set); // Assert Assert.AreEqual(expected, actual); }