Skip to content

Commit ab81ed8

Browse files
committed
Added a comment separating MarketOrderSummary tests from PortfolioEntry tests
1 parent 870868b commit ab81ed8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Unit/Service/SummaryServiceTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public void GetMarketOrderSummary_WithFee_InLoss_Returns_Correct_Summary()
9292
10001
9393
), summary);
9494
}
95+
96+
// PortfolioEntrySummary tests
9597

9698
[Fact]
9799
public void GetPortfolioEntrySummary_InProfit_Returns_Correct_Summary()
@@ -122,7 +124,6 @@ public void GetPortfolioEntrySummary_WithFee_InProfit_Returns_Correct_Summary()
122124
new(10000m, 1m, 1m, DateTime.Now, true),
123125
new(20000m, 5m, 1m, DateTime.Now, true)
124126
}, 40000);
125-
// currentTotalHoldingValue + totalSellValue - totalCost - totalFee
126127
Assert.Equal(new ISummaryService.Summary(
127128
30000m + 20000m - 6,
128129
((80000m - 6m) / 30000m) - 1m,

0 commit comments

Comments
 (0)