示例#1
0
        public void ToStringTest()
        {
            char     code     = 'a';
            string   data     = "Test Data";
            Subfield target   = new Subfield(code, data);
            string   expected = "[a]: Test Data";
            string   actual   = target.ToString();

            Assert.AreEqual(expected, actual);
        }