Replaced repeatStr() and repeatChar() with more natural versions.

This commit is contained in:
Hans Raaf 2015-02-28 18:14:43 +01:00
commit 3546ff8819
2 changed files with 39 additions and 12 deletions

View file

@ -46,7 +46,13 @@ assert "/1/2/3".rfind('0') == -1
assert(toHex(100i16, 32) == "00000000000000000000000000000064")
assert(toHex(-100i16, 32) == "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9C")
assert(' '.repeat(8)== " ")
assert(" ".repeat(8) == " ")
assert(spaces(8) == " ")
assert(' '.repeat(0) == "")
assert(" ".repeat(0) == "")
assert(spaces(0) == "")
main()
#OUT ha/home/a1xyz/usr/bin