libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 6b93c40f5b0f5ac711cde99016a842325ec7c808
parent 30fc568271b1bb8e316ac691e94c874951bc92d3
Author: MS <ms@taler.net>
Date:   Thu, 14 May 2020 17:54:55 +0200

Uncomment Taler unit tests.

Diffstat:
Mnexus/src/test/kotlin/taler.kt | 15++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/nexus/src/test/kotlin/taler.kt b/nexus/src/test/kotlin/taler.kt @@ -3,12 +3,11 @@ package tech.libeufin.nexus import io.ktor.routing.RootRouteSelector import io.ktor.routing.Route import io.ktor.util.InternalAPI -import org.junit.Ignore import org.junit.Test import tech.libeufin.util.Amount import java.math.BigDecimal +import tech.libeufin.util.parseAmount -/* class TalerTest { @InternalAPI @@ -26,13 +25,11 @@ class TalerTest { @InternalAPI @Test fun amountParserTest() { - val amount = taler.parseAmount("EUR:1") + val amount = parseAmount("EUR:1") assert(amount.currency == "EUR" && amount.amount.equals(BigDecimal(1))) - val amount299 = taler.parseAmount("EUR:2.99") + val amount299 = parseAmount("EUR:2.99") assert(amount299.amount.compareTo(Amount("2.99")) == 0) - val amount25 = taler.parseAmount("EUR:2.5") + val amount25 = parseAmount("EUR:2.5") assert(amount25.amount.compareTo(Amount("2.5")) == 0) } -} - - */ -\ No newline at end of file +} +\ No newline at end of file