aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/kotlin/io/github/LocustsTest.kt14
-rw-r--r--src/test_locusts.py10
2 files changed, 24 insertions, 0 deletions
diff --git a/src/test/kotlin/io/github/LocustsTest.kt b/src/test/kotlin/io/github/LocustsTest.kt
new file mode 100644
index 0000000..39999e5
--- /dev/null
+++ b/src/test/kotlin/io/github/LocustsTest.kt
@@ -0,0 +1,14 @@
+/*
+ * This source file was generated by the Gradle 'init' task
+ */
+package io.github.locustsRUs.locusts
+
+import kotlin.test.Test
+import kotlin.test.assertEquals
+
+class LibraryTest {
+ @Test
+ fun locustsShouldGetIntroduced() {
+ assertEquals(Locusts.introduceLocusts(), Unit, "Locusts should be introduced")
+ }
+}
diff --git a/src/test_locusts.py b/src/test_locusts.py
new file mode 100644
index 0000000..8026315
--- /dev/null
+++ b/src/test_locusts.py
@@ -0,0 +1,10 @@
+""""Run tests for locusts.py."""
+import unittest
+from locusts import introduce_locusts
+
+class TestLocusts(unittest.TestCase):
+ def test_introduce_locusts(self):
+ self.assertIsNone(introduce_locusts())
+
+if __name__ == '__main__':
+ unittest.main()