Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Nov 18, 2024
1 parent 0bec96d commit f58cb71
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class VaultTests {

val expectedVaultDetails = VaultDetails(
totalValue = 10000.0,
thirtyDayReturnPercent = 0.1 * 365,
thirtyDayReturnPercent = 0.05 * 365,
history = iListOf(
VaultHistoryEntry(
date = 1659465600000.0,
Expand Down Expand Up @@ -150,7 +150,7 @@ class VaultTests {
val vaultDetails = calculateVaultSummary(arrayOf(historicalPnl))

assertNotNull(vaultDetails)
assertEquals(0.6403508771929824, vaultDetails.thirtyDayReturnPercent)
assertEquals(0.6083333333333333, vaultDetails.thirtyDayReturnPercent)
}

@Test
Expand Down

0 comments on commit f58cb71

Please sign in to comment.