public void SetInitialSize_ShouldNotThrowException_WhenSetPlateuSize() { var plateu = new Plateu(); var expectNull = Record.Exception(() => plateu.SetInitialSize("5 5")); Assert.Null(expectNull); }
public void SetInitialSize_ShouldFormatException_WhenPlateuIsEmpty() { var plateu = new Plateu(); Assert.Throws <FormatException>(() => plateu.SetInitialSize("")); }
public void SetInitialSize_ShouldFormatException_WhenPlateuIsIncludeCharacter() { var plateu = new Plateu(); Assert.Throws <FormatException>(() => plateu.SetInitialSize("5 a")); }