def test_big_filesizeformat():
  assert_equal("N/A", big_filesizeformat(None))
  assert_equal("N/A", big_filesizeformat(""))
  assert_equal("0 B", big_filesizeformat(0))
  assert_equal("17 B", big_filesizeformat(17))
  assert_equal("1.0 KB", big_filesizeformat(1024))
  assert_equal("1.0 MB", big_filesizeformat(1024*1024))
  assert_equal("1.1 GB", big_filesizeformat(int(1.1*1024*1024*1024)))
  assert_equal("2.0 TB", big_filesizeformat(2*1024*1024*1024*1024))
  assert_equal("1.5 PB", big_filesizeformat(3*1024*1024*1024*1024*2/1024))
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/view_util_test.py/test_big_filesizeformat/swapped operands of `/`