From f58cb71cf2a85dc363b9d607baeeb3f2da966239 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 18 Nov 2024 16:28:29 -0500 Subject: [PATCH] fix --- .../exchange.dydx.abacus/functional/vault/VaultTests.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt b/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt index 7386bf52c..8886559ad 100644 --- a/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt +++ b/src/commonTest/kotlin/exchange.dydx.abacus/functional/vault/VaultTests.kt @@ -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, @@ -150,7 +150,7 @@ class VaultTests { val vaultDetails = calculateVaultSummary(arrayOf(historicalPnl)) assertNotNull(vaultDetails) - assertEquals(0.6403508771929824, vaultDetails.thirtyDayReturnPercent) + assertEquals(0.6083333333333333, vaultDetails.thirtyDayReturnPercent) } @Test