Add test_indent()

This commit is contained in:
moltenmuffins 2020-10-08 17:07:30 +08:00
parent 630f378e65
commit 14d4d0bf65

View file

@ -8,6 +8,10 @@ def test_repr():
assert isinstance(repr(padding), str)
def test_indent():
assert Padding.indent("test", 4).left == 4
def test_unpack():
assert Padding.unpack(3) == (3, 3, 3, 3)
assert Padding.unpack((3,)) == (3, 3, 3, 3)