From 3bb017824e02db2163dde9f5c8fc79900ae35c62 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Tue, 3 Jun 2025 16:22:39 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20postgres?= =?UTF-8?q?=5Fstek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- micro/microfunctions_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/micro/microfunctions_test.go b/micro/microfunctions_test.go index c696b0d6..9777e2d2 100644 --- a/micro/microfunctions_test.go +++ b/micro/microfunctions_test.go @@ -1558,3 +1558,10 @@ func TestRound_Float64_WithPrecision(t *testing.T) { t.Errorf("Expected 1.1, but got %f", Otvet) } } + +func TestRound_Float64_WithPrecision2(t *testing.T) { + Otvet := Round_Float64_WithPrecision(1.9999999999, 9) + if Otvet != 2 { + t.Errorf("Expected 1.1, but got %f", Otvet) + } +}