Ejemplo n.º 1
0
        public void ToText_GivenAlphanumericPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(ShortPN);

            Assert.Equal("1A-2345", partNumber.ToText());
        }
Ejemplo n.º 2
0
        public void ToText_GivenRemanPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(RemanPN);

            Assert.Equal("20R-1234", partNumber.ToText());
        }
Ejemplo n.º 3
0
        public void ToText_GivenNumericPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(LongPN);

            Assert.Equal("123-4567", partNumber.ToText());
        }