From 0a8f44b2848a0f543409f486f899be86cfba289b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 21 Dec 2021 20:30:44 +1100 Subject: [PATCH] Tests for zero decimals --- tests/Unit/ZeroDecimalTest.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/Unit/ZeroDecimalTest.php b/tests/Unit/ZeroDecimalTest.php index ca0ed45340..4bd94103d1 100644 --- a/tests/Unit/ZeroDecimalTest.php +++ b/tests/Unit/ZeroDecimalTest.php @@ -37,5 +37,22 @@ class ZeroDecimalTest extends TestCase } + + public function testCurrencyMiss() + { + + $this->assertFalse(in_array("USD", $this->currencies)); + + } + + public function testCurrencyNotexist() + { + + $this->assertFalse(in_array("USDddd", $this->currencies)); + + } + + + }