Beispiel #1
0
        private void AssertMethodChange(string from, string name, ChangeType change)
        {
            MemberDetail r1 = ExtractMethod(Subjects.One, from, name);
            MemberDetail r2 = ExtractMethod(Subjects.Two, from, name);

            Align(r1, r2);

            Assert.AreEqual(change, r1.PerformCompare(r2));
        }
Beispiel #2
0
        private void AssertChange(string from, string name, ChangeType change, DiffConfig config)
        {
            MemberDetail r1 = ExtractOperator(Subjects.One, from, name, config);
            MemberDetail r2 = ExtractOperator(Subjects.Two, from, name, config);

            Align(r1, r2);

            Assert.AreEqual(change, r2.PerformCompare(r1));
        }