Refine tests
MODIFY
WalletWasabi.Tests/UnitTests/UserInterfaceTest/PocketSelectionTests.cs
WalletWasabi.Tests/UnitTests/UserInterfaceTest/PocketSelectionTests.cs
@@ -594,7 +594,7 @@ public class PocketSelectionTests
var selection = new LabelSelectionViewModel(Money.Parse("1.0"));
var pockets = new List<Pocket>();
- pockets.AddPocket(0.8M, out var pocket1, CoinPocketHelper.PrivateFundsText);
+ pockets.AddPocket(1.1M, out var pocket1, CoinPocketHelper.PrivateFundsText);
pockets.AddPocket(1.1M, out var pocket2, "Dan");
pockets.AddPocket(0.5M, out var pocket3, CoinPocketHelper.UnlabelledFundsText);
pockets.AddPocket(1.1M, out var pocket4, "Dan", "Lucas");
@@ -614,12 +614,13 @@ public class PocketSelectionTests
var selection = new LabelSelectionViewModel(Money.Parse("1.0"));
var pockets = new List<Pocket>();
- pockets.AddPocket(0.8M, out var pocket1, CoinPocketHelper.PrivateFundsText);
+ pockets.AddPocket(1.0M, out var pocket1, CoinPocketHelper.PrivateFundsText);
pockets.AddPocket(1.1M, out var pocket2, "Dan");
pockets.AddPocket(0.5M, out var pocket3, CoinPocketHelper.UnlabelledFundsText);
pockets.AddPocket(1.1M, out var pocket4, "David", "Lucas");
pockets.AddPocket(1.1M, out var pocket5, "David");
pockets.AddPocket(1.1M, out var pocket6, "Lucas");
+ pockets.AddPocket(1.1M, out var pocket7, "David", "Lucas", "Dan");
selection.Reset(pockets.ToArray());
@@ -630,6 +631,7 @@ public class PocketSelectionTests
Assert.Contains(pocket4, output);
Assert.DoesNotContain(pocket5, output);
Assert.DoesNotContain(pocket6, output);
+ Assert.DoesNotContain(pocket7, output);
}
[Fact]

Refine tests