Пример #1
0
        public void ToText_GivenAlphanumericPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(ShortPN);

            Assert.Equal("1A-2345", partNumber.ToText());
        }
Пример #2
0
        public void ToText_GivenRemanPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(RemanPN);

            Assert.Equal("20R-1234", partNumber.ToText());
        }
Пример #3
0
        public void ToText_GivenNumericPartNumber_ReturnsHyphenated()
        {
            var partNumber = new PartNumber(LongPN);

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