def testTb(): tbSize = 763832854988542 tbStr = formatSize(tbSize, decimalNum=2) print("%s -> %s" % (tbSize, tbStr))
def testPb(): pbSize = 763832854988542665 pbStr = formatSize(pbSize, decimalNum=4) print("%s -> %s" % (pbSize, pbStr))
def testMb(): mbSize = 76383285 mbStr = formatSize(mbSize, decimalNum=2) print("%s -> %s" % (mbSize, mbStr))
def testBytes(): bytesSize = 352 bytesStr = formatSize(bytesSize) print("%s -> %s" % (bytesSize, bytesStr))
def testSeparator(): seperatorSize = 98654 seperatorStr = formatSize(seperatorSize, sizeUnitSeperator=" ") print("%s -> %s" % (seperatorSize, seperatorStr))
def testI(): iSize = 87533 iStr = formatSize(iSize, isUnitWithI=True) print("%s -> %s" % (iSize, iStr))
def testKb(): kbSize = 3746 kbStr = formatSize(kbSize) print("%s -> %s" % (kbSize, kbStr))