public void Ska_ha_växel_2_efter_att_ha_växlat_upp_två_gånger_från_Neutral() { var gearbox = new GearBox(); gearbox.ShiftUp(); gearbox.ShiftUp(); Assert.Equal("2", gearbox.CurrentGear.ToString()); }
public void Ska_ha_växel_2_efter_att_ha_växlat_upp_två_gånger_från_Neutral() { var gearbox = new GearBox(); gearbox.ShiftUp(); gearbox.ShiftUp(); Assert.Equal("2", gearbox.CurrentGear.ToString()); }
public void Perfekta_racet() { var gearbox = new GearBox(); gearbox.ShiftUp(); gearbox.ShiftUp(); gearbox.ShiftUp(); Assert.Equal("3", gearbox.CurrentGear.ToString()); gearbox.ShiftDown(); gearbox.ShiftDown(); gearbox.ShiftDown(); Assert.Equal("N", gearbox.CurrentGear.ToString()); }
public void Perfekta_racet() { var gearbox = new GearBox(); gearbox.ShiftUp(); gearbox.ShiftUp(); gearbox.ShiftUp(); Assert.Equal("3", gearbox.CurrentGear.ToString()); gearbox.ShiftDown(); gearbox.ShiftDown(); gearbox.ShiftDown(); Assert.Equal("N", gearbox.CurrentGear.ToString()); }