Exemplo n.º 1
0
        public void TestConvertTo(
            [Values(1, 2, 3, 4, 10, 11, 12, 12, 12)] int input,
            [Values(4, 5, 6)] int width
            )
        {
            var converter = new IntConverter();
            var output    = converter.To(input, width);

            Assert.True(output.EndsWith(input.ToString()));
        }