Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Should_Report_DuplicateLines_And_Percentage_Simple_Case() { canvas.AddDuplicate(new Duplicate(1, 10, new Location("fileA.cs"), new Duplicate(1, 10, new Location("fileB.cs")))); canvas.LinesOfCode.Should().Be(100); canvas.DuplicateLines.Should().Be(1); canvas.DuplicatePercentage.Should().Be(0.01d); }