Skip to content

Commit 77a0726

Browse files
author
jburnett
committed
Upgrade FluentAssertions w/method name changes
1 parent f813f43 commit 77a0726

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Test.AMT.Extensions.Linq/IntListRandomizerTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public void random_element_from_int_list()
3232
{
3333
// Test via the method taking ICollection
3434
int curr = _testData.TestList.Random();
35-
curr.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
35+
curr.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
3636

3737
// Test via the method taking IEnumerable
3838
curr = enr.Random();
39-
curr.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
39+
curr.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
4040
}
4141
}
4242

@@ -75,12 +75,12 @@ public void random_element_from_Dictionary()
7575
{
7676
// Test via the method taking ICollection
7777
var curr = dict.Random();
78-
curr.Key.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
78+
curr.Key.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
7979
curr.Value.Should().BeEquivalentTo(curr.Key.ToString());
8080

8181
// Test via the method taking IEnumerable
8282
curr = enr.Random();
83-
curr.Key.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
83+
curr.Key.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
8484
curr.Value.Should().BeEquivalentTo(curr.Key.ToString());
8585
}
8686
}
@@ -98,12 +98,12 @@ public void random_element_from_SortedList()
9898
{
9999
// Test via the method taking ICollection
100100
var curr = list.Random();
101-
curr.Key.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
101+
curr.Key.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
102102
curr.Value.Should().BeEquivalentTo(curr.Key.ToString());
103103

104104
// Test via the method taking IEnumerable
105105
curr = enr.Random();
106-
curr.Key.Should().BeGreaterOrEqualTo(IntListTestFixture.MinTestValue);
106+
curr.Key.Should().BeGreaterThanOrEqualTo(IntListTestFixture.MinTestValue);
107107
curr.Value.Should().BeEquivalentTo(curr.Key.ToString());
108108
}
109109
}

common.test.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
1313
<PackageReference Include="xunit" Version="2.*" />
1414
<PackageReference Include="xunit.runner.visualstudio" Version="3.*" />
15-
<PackageReference Include="FluentAssertions" Version="6.*" />
15+
<PackageReference Include="FluentAssertions" Version="8.*" />
1616
</ItemGroup>
1717

1818

0 commit comments

Comments
 (0)