19 references to EqualityUnit
Microsoft.CodeAnalysis.UnitTests (19)
Diagnostics\DiagnosticLocalizationTests.cs (1)
242
var unit =
EqualityUnit
FileLinePositionSpanTests.cs (4)
22
EqualityUnit
.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
24
EqualityUnit
.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
26
EqualityUnit
.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
28
EqualityUnit
.Create(new FileLinePositionSpan("C:\\goo.cs", new LinePosition(1, 2), new LinePosition(3, 5)))
LineMappingTests.cs (1)
40
var leftUnit =
EqualityUnit
.Create(left);
LinePositionTests.cs (4)
22
EqualityUnit
.Create(new LinePosition(1, 2)).WithEqualValues(new LinePosition(1, 2)),
23
EqualityUnit
.Create(new LinePosition()).WithEqualValues(new LinePosition()),
24
EqualityUnit
.Create(new LinePosition(1, 2)).WithNotEqualValues(new LinePosition(1, 3)),
25
EqualityUnit
.Create(new LinePosition(1, 2)).WithNotEqualValues(new LinePosition(2, 2)));
PEWriter\UsedNamespaceOrTypeTests.cs (5)
51
var unit =
EqualityUnit
76
var unit =
EqualityUnit
94
var unit =
EqualityUnit
111
var unit =
EqualityUnit
135
var unit =
EqualityUnit
Text\TextChangeRangeTest.cs (4)
38
EqualityUnit
.Create(new TextChangeRange()).WithEqualValues(new TextChangeRange()),
39
EqualityUnit
.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithEqualValues(new TextChangeRange(new TextSpan(42, 2), 13)),
40
EqualityUnit
.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithNotEqualValues(new TextChangeRange(new TextSpan(42, 2), 5)),
41
EqualityUnit
.Create(new TextChangeRange(new TextSpan(42, 2), 13)).WithNotEqualValues(new TextChangeRange(new TextSpan(42, 4), 13)));