stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.76k stars 176 forks source link

chore: F# range math #2679

Closed psfinaki closed 11 months ago

psfinaki commented 12 months ago

Part of this PR.

This adds some F# range arithmetic which is needed for comparing mutant spans.

Now, the F# part is basically reimplemented C# TextSpan math. There are common parts and we technically could extract some common code, but my experimentation showed it's not going to be better. The reasons are: