예제 #1
0
        public void Append()
        {
            FieldPath path1 = new FieldPath("a", "b.c");
            FieldPath path2 = new FieldPath("d.e", "f");

            Assert.Equal(new FieldPath("a", "b.c", "d.e", "f"), path1.Append(path2));
        }
예제 #2
0
        public void Append()
        {
            FieldPath original = new FieldPath("a", "b.c");
            FieldPath expected = new FieldPath("a", "b.c", "d.e");
            FieldPath actual   = original.Append("d.e");

            Assert.Equal(expected, actual);
        }