1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-23 22:45:11 +02:00

сделал postgres_stek

This commit is contained in:
Nikitin Aleksandr
2025-06-03 16:22:39 +03:00
parent 8d671ac66c
commit 3bb017824e

View File

@@ -1558,3 +1558,10 @@ func TestRound_Float64_WithPrecision(t *testing.T) {
t.Errorf("Expected 1.1, but got %f", Otvet) 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)
}
}