aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx_vector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx_vector.rs')
-rw-r--r--tests/cxx_vector.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cxx_vector.rs b/tests/cxx_vector.rs
new file mode 100644
index 00000000..de9e8efe
--- /dev/null
+++ b/tests/cxx_vector.rs
@@ -0,0 +1,7 @@
+use cxx::CxxVector;
+
+#[test]
+fn test_cxx_vector_new() {
+ let vector = CxxVector::<i32>::new();
+ assert!(vector.is_empty());
+}