コード例 #1
0
        public void ToAttributeDefinition_gives_correct_result(string input, string expectedName, string expectedValue)
        {
            var line = new InputLine(1)
            {
                Data = input
            };
            var result = line.ToAttributeDefinition();

            Assert.Equal(expectedName, result?.Name);
            Assert.Equal(expectedValue, result?.Value);
        }