public void GetSizeToShow_With_3_Size_length_TorpedoBoat_Should_Return_string() { Ship ship = new TorpedoBoat(); var res = ship.GetSizeToShow(); Assert.IsType <string>(res); }
public void GetSizeToShow_With_3_Size_length_TorpedoBoat_Should_Return_string_With_Size_And_Name() { Ship ship = new TorpedoBoat(); string expectedString = "Le Torpilleur mesure 2 cellules de longueur\r\n"; var res = ship.GetSizeToShow(); Assert.Equal(expectedString, res); }