diff --git a/matrix_test.c b/matrix_test.c
new file mode 100644
index 0000000000000000000000000000000000000000..9eb92929a93ceb28979501da747f801e81db9025
--- /dev/null
+++ b/matrix_test.c
@@ -0,0 +1,6 @@
+#include <assert.h>
+#include "matrix.h"
+
+void matrix_alloc_test(error_code matrix){
+    assert(matrix == ERR);
+}
\ No newline at end of file