From eaecebf82dbd8b582a1ebcf749adc5b442992dae Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Bayle <j2b.bayle@gmail.com>
Date: Mon, 15 Nov 2021 14:01:04 -0800
Subject: [PATCH] Test that simulations can be run

---
 tests/test_instrument.py | 11 +++++++++++
 tests/test_lisa.py       |  9 ---------
 tests/test_noises.py     |  9 ---------
 3 files changed, 11 insertions(+), 18 deletions(-)
 create mode 100644 tests/test_instrument.py
 delete mode 100644 tests/test_lisa.py
 delete mode 100644 tests/test_noises.py

diff --git a/tests/test_instrument.py b/tests/test_instrument.py
new file mode 100644
index 0000000..bde2d0e
--- /dev/null
+++ b/tests/test_instrument.py
@@ -0,0 +1,11 @@
+#! /usr/bin/env python3
+# -*- coding: utf-8 -*-
+# pylint: disable=missing-module-docstring
+
+from lisainstrument import Instrument
+
+
+def test_run():
+    """Test that simulations can run."""
+    instru = Instrument(size=100)
+    instru.simulate()
diff --git a/tests/test_lisa.py b/tests/test_lisa.py
deleted file mode 100644
index 7290d0e..0000000
--- a/tests/test_lisa.py
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /usr/bin/env python3
-# -*- coding: utf-8 -*-
-# pylint: disable=missing-module-docstring
-
-import unittest
-
-
-if __name__ == '__main__':
-    unittest.main()
diff --git a/tests/test_noises.py b/tests/test_noises.py
deleted file mode 100644
index 7290d0e..0000000
--- a/tests/test_noises.py
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /usr/bin/env python3
-# -*- coding: utf-8 -*-
-# pylint: disable=missing-module-docstring
-
-import unittest
-
-
-if __name__ == '__main__':
-    unittest.main()
-- 
GitLab