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 f58cb71 commit 96b4235
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class V4VaultTests : V4BaseTests() {

val vaultDetails = vault?.details
assertEquals(10000.0, vaultDetails?.totalValue)
assertEquals(0.1 * 365, vaultDetails?.thirtyDayReturnPercent)
assertEquals(18.25, vaultDetails?.thirtyDayReturnPercent)
assertEquals(2, vaultDetails?.history?.size)
assertEquals(1000.0, vaultDetails?.history?.get(0)?.totalPnl)
assertEquals(500.0, vaultDetails?.history?.get(1)?.totalPnl)
Expand All @@ -50,7 +50,7 @@ class V4VaultTests : V4BaseTests() {

val vault = perp.internalState.vault
assertEquals(10000.0, vault?.details?.totalValue)
assertEquals(0.1 * 365, vault?.details?.thirtyDayReturnPercent)
assertEquals(18.25, vault?.details?.thirtyDayReturnPercent)
assertEquals(2, vault?.details?.history?.size)
assertEquals(1000.0, vault?.details?.history?.get(0)?.totalPnl)
assertEquals(500.0, vault?.details?.history?.get(1)?.totalPnl)
Expand Down

0 comments on commit 96b4235

Please sign in to comment.