fix: reworking some code smell issues

This commit is contained in:
2026-06-26 16:34:07 +02:00
parent 68de265137
commit d1acfd4d71
42 changed files with 661 additions and 129 deletions

12
test/bds/strings_test.exs Normal file
View File

@@ -0,0 +1,12 @@
defmodule BDS.StringsTest do
use ExUnit.Case, async: true
alias BDS.Strings
test "pad2/1 zero-pads to at least two digits" do
assert Strings.pad2(0) == "00"
assert Strings.pad2(3) == "03"
assert Strings.pad2(12) == "12"
assert Strings.pad2(123) == "123"
end
end