mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9b481c42d8
commit
4555f8f591
@ -14,3 +14,5 @@ def misc_utils():
|
||||
assert_equal(fmt_sidx(1.2), '1.20')
|
||||
assert_equal(list(map(human_readable, [1, 1024.0, 1025, 1024*1024*2.3])), ["1 B", "1 KB", "1 KB", "2.3 MB"])
|
||||
assert_equal(False, deep_eq({"portrait":0, "landscape":0}, {"landscape":3, "portrait":0}))
|
||||
assert_equal(False, deep_eq(1, 2))
|
||||
assert_equal(True, deep_eq(1, 1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user