aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/Locusts.cs2
-rw-r--r--tests/locusts_test.exs8
-rw-r--r--tests/test_helper.exs1
-rw-r--r--tests/test_helper.rb7
-rw-r--r--tests/test_locusts.rb10
5 files changed, 27 insertions, 1 deletions
diff --git a/tests/Locusts.cs b/tests/Locusts.cs
index a220043..0ec1f7a 100644
--- a/tests/Locusts.cs
+++ b/tests/Locusts.cs
@@ -7,6 +7,6 @@ public class Test
public void TestLocusts()
{
Locusts.IntroduceLocusts();
- Assert.IsTrue(1==1);
+ Assert.IsTrue(1 == 1);
}
} \ No newline at end of file
diff --git a/tests/locusts_test.exs b/tests/locusts_test.exs
new file mode 100644
index 0000000..f18efb3
--- /dev/null
+++ b/tests/locusts_test.exs
@@ -0,0 +1,8 @@
+defmodule LocustsTest do
+ use ExUnit.Case
+ doctest Locusts
+
+ test "greets the world" do
+ assert Locusts.introduce_locusts() == nil
+ end
+end
diff --git a/tests/test_helper.exs b/tests/test_helper.exs
new file mode 100644
index 0000000..869559e
--- /dev/null
+++ b/tests/test_helper.exs
@@ -0,0 +1 @@
+ExUnit.start()
diff --git a/tests/test_helper.rb b/tests/test_helper.rb
new file mode 100644
index 0000000..f390cdd
--- /dev/null
+++ b/tests/test_helper.rb
@@ -0,0 +1,7 @@
+# typed: strict
+# frozen_string_literal: true
+
+$LOAD_PATH.unshift File.expand_path("../src", __dir__)
+require "locusts"
+
+require "minitest/autorun"
diff --git a/tests/test_locusts.rb b/tests/test_locusts.rb
new file mode 100644
index 0000000..d2e8811
--- /dev/null
+++ b/tests/test_locusts.rb
@@ -0,0 +1,10 @@
+# typed: true
+# frozen_string_literal: true
+
+require "test_helper"
+
+class TestLocusts < Minitest::Test
+ def test_it_does_something_useful
+ assert_nil ::Locusts::Locusts.introduceLocusts
+ end
+end