gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Uncomment Taler unit tests.


From: gnunet
Subject: [libeufin] branch master updated: Uncomment Taler unit tests.
Date: Thu, 14 May 2020 17:55:11 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 6b93c40  Uncomment Taler unit tests.
6b93c40 is described below

commit 6b93c40f5b0f5ac711cde99016a842325ec7c808
Author: MS <address@hidden>
AuthorDate: Thu May 14 17:54:55 2020 +0200

    Uncomment Taler unit tests.
---
 nexus/src/test/kotlin/taler.kt | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/nexus/src/test/kotlin/taler.kt b/nexus/src/test/kotlin/taler.kt
index cd7c327..df49493 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]