aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-04-26 02:40:23 -0400
committerJesse Luehrs <doy@tozt.net>2016-04-26 02:40:23 -0400
commit88e064a448756bb4a9045a9260702f60ba492990 (patch)
tree88edf10c96d95dc3eb83f7a3f3d0dfc57ab27f83 /tests/basic.rs
parent0c22a51ab36f1c6b84796400a2c85dbb23b956fc (diff)
downloadvt100-rust-88e064a448756bb4a9045a9260702f60ba492990.tar.gz
vt100-rust-88e064a448756bb4a9045a9260702f60ba492990.zip
get ffi framework in place
Diffstat (limited to 'tests/basic.rs')
-rw-r--r--tests/basic.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/basic.rs b/tests/basic.rs
new file mode 100644
index 0000000..c52a574
--- /dev/null
+++ b/tests/basic.rs
@@ -0,0 +1,11 @@
+extern crate vt100;
+
+#[cfg(test)]
+mod tests {
+ use vt100;
+
+ #[test]
+ fn object_creation() {
+ let _ = vt100::Screen::new(24, 80);
+ }
+}