send with swap #102

Merged
Alfred-mk merged 48 commits from send-with-swap into master 2025-11-12 08:54:08 +01:00
Showing only changes of commit 38ab1ecdd1 - Show all commits

View File

@ -22,6 +22,13 @@ func TestTruncateDecimalString(t *testing.T) {
want: "4.00", want: "4.00",
expectError: false, expectError: false,
}, },
{
name: "precision test",
input: "2.1",
decimalPlaces: 2,
want: "2.10",
expectError: false,
},
{ {
name: "single decimal", name: "single decimal",
input: "4.1", input: "4.1",