public void ToText_GivenAlphanumericPartNumber_ReturnsHyphenated() { var partNumber = new PartNumber(ShortPN); Assert.Equal("1A-2345", partNumber.ToText()); }
public void ToText_GivenRemanPartNumber_ReturnsHyphenated() { var partNumber = new PartNumber(RemanPN); Assert.Equal("20R-1234", partNumber.ToText()); }
public void ToText_GivenNumericPartNumber_ReturnsHyphenated() { var partNumber = new PartNumber(LongPN); Assert.Equal("123-4567", partNumber.ToText()); }