aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-18 02:38:41 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-18 02:38:41 -0400
commit91295c22eff10201049e4fb926680b3db9e11dde (patch)
tree7eadb4be2dd30ba35e58bda6614c03880a7cc6ed /test.py
parent5ab52ce39d2f89d6aa7bdec1248c4ceafd9c7893 (diff)
downloadlibvt100-python-91295c22eff10201049e4fb926680b3db9e11dde.tar.gz
libvt100-python-91295c22eff10201049e4fb926680b3db9e11dde.zip
start adding tests
Diffstat (limited to 'test.py')
-rw-r--r--test.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test.py b/test.py
deleted file mode 100644
index 2c43bab..0000000
--- a/test.py
+++ /dev/null
@@ -1,11 +0,0 @@
-import hexdump
-
-import vt100
-
-vt = vt100.vt100(24, 80)
-string = b"foo\033[31m\033[32mb\033[3;7;42ma\033[23mr"
-vt.process(string)
-
-hexdump.hexdump(vt.get_string_plaintext(0, 0, 0, 50))
-hexdump.hexdump(vt.get_string_formatted(0, 0, 0, 50))
-print(vt.cell(0, 4).contents())