15 references to TestNode
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
Differencing\MatchTests.cs (15)
18var oldRoot = new TestNode(0, 1, 19x1 = new TestNode(1, 1)); 21var newRoot = new TestNode(0, 1, 22x2 = new TestNode(1, 2)); 31Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, [KeyValuePairUtil.Create(x1, x2), KeyValuePairUtil.Create(x1, new TestNode(0, 0))])); 39var oldRoot = new TestNode(0, 1, 40x1 = new TestNode(1, 1), 41y1 = new TestNode(1, 4)); 43var newRoot = new TestNode(0, 1, 44x2 = new TestNode(1, 2), 45y2 = new TestNode(1, 3)); 67var oldRoot = new TestNode(0, 1, 68x1 = new TestNode(0, 1)); 70var newRoot = new TestNode(0, 1, 71x2 = new TestNode(0, 2));