15 references to TestNode
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
Differencing\MatchTests.cs (15)
20var oldRoot = new TestNode(0, 1, 21x1 = new TestNode(1, 1)); 23var newRoot = new TestNode(0, 1, 24x2 = new TestNode(1, 2)); 33Assert.Throws<ArgumentException>(() => TestTreeComparer.Instance.ComputeMatch(oldRoot, newRoot, [KeyValuePairUtil.Create(x1, x2), KeyValuePairUtil.Create(x1, new TestNode(0, 0))])); 41var oldRoot = new TestNode(0, 1, 42x1 = new TestNode(1, 1), 43y1 = new TestNode(1, 4)); 45var newRoot = new TestNode(0, 1, 46x2 = new TestNode(1, 2), 47y2 = new TestNode(1, 3)); 69var oldRoot = new TestNode(0, 1, 70x1 = new TestNode(0, 1)); 72var newRoot = new TestNode(0, 1, 73x2 = new TestNode(0, 2));