From 41ea5f5c15216335aea4de2eba70bfd06c26fd2f Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Wed, 30 Apr 2025 10:38:05 -0400 Subject: [PATCH] Update prueba --- app/tests/unit/src/Service/ValorTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/tests/unit/src/Service/ValorTest.php b/app/tests/unit/src/Service/ValorTest.php index 44763a1..2cbc01e 100644 --- a/app/tests/unit/src/Service/ValorTest.php +++ b/app/tests/unit/src/Service/ValorTest.php @@ -22,6 +22,8 @@ class ValorTest extends TestCase return [ ['1.003.000,01', 1003000.01], ['4,273.84', 4273.84], + [443.75, 443.75], + ['443.75', 443.75] ]; } @@ -36,6 +38,14 @@ class ValorTest extends TestCase $this->assertEquals($expected, $result); } + public static function ufsDataProvider(): array + { + return [ + ['1000000', 28.57143], + [443.75, 443.75] + ]; + } + public function testToUF() { $date = '2025-01-01';