remove nfluent

This commit is contained in:
Stef Heyenrath
2026-02-26 22:02:54 +01:00
parent c4c8ad3fa9
commit 62d0b0db5b
142 changed files with 899 additions and 1020 deletions

View File

@@ -1,6 +1,5 @@
// Copyright © WireMock.Net
using NFluent;
using WireMock.Matchers;
namespace WireMock.Net.Tests.Matchers;
@@ -17,7 +16,7 @@ public class ExactMatcherTests
string name = matcher.Name;
// Assert
Check.That(name).Equals("ExactMatcher");
name.Should().Be("ExactMatcher");
}
[Fact]
@@ -30,7 +29,7 @@ public class ExactMatcherTests
var patterns = matcher.GetPatterns();
// Assert
Check.That(patterns).ContainsExactly("X");
patterns.Should().ContainSingle("X");
}
[Fact]
@@ -43,7 +42,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("X").Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -56,7 +55,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("x").Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -69,7 +68,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("y").Score;
// Assert
Check.That(result).IsEqualTo(0.0);
result.Should().Be(0.0);
}
[Fact]
@@ -82,7 +81,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("x").Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -95,7 +94,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("x").Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Theory]
@@ -111,7 +110,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("x").Score;
// Assert
Check.That(result).IsEqualTo(score);
result.Should().Be(score);
}
[Fact]
@@ -124,7 +123,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("caR").Score;
// Assert
Check.That(result).IsEqualTo(0.0);
result.Should().Be(0.0);
}
[Fact]
@@ -137,7 +136,7 @@ public class ExactMatcherTests
double result = matcher.IsMatch("cat").Score;
// Assert
Check.That(result).IsEqualTo(1.0);
result.Should().Be(1.0);
}
[Fact]
@@ -150,6 +149,6 @@ public class ExactMatcherTests
double result = matcher.IsMatch("cat").Score;
// Assert
Check.That(result).IsEqualTo(0.0);
result.Should().Be(0.0);
}
}