From f67d752533a16849442300a2dd2cfb831ae5626b Mon Sep 17 00:00:00 2001 From: "bparodi@lezzo.org" Date: Sat, 26 Oct 2024 14:12:05 +0200 Subject: [PATCH] add tests --- tests/Program.fs | 4 ++++ tests/UnitTest1.fs | 8 ++++++++ tests/tests.fsproj | 30 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 tests/Program.fs create mode 100644 tests/UnitTest1.fs create mode 100644 tests/tests.fsproj diff --git a/tests/Program.fs b/tests/Program.fs new file mode 100644 index 0000000..e5bfa1b --- /dev/null +++ b/tests/Program.fs @@ -0,0 +1,4 @@ +module Program = + + [] + let main _ = 0 diff --git a/tests/UnitTest1.fs b/tests/UnitTest1.fs new file mode 100644 index 0000000..d5f2e35 --- /dev/null +++ b/tests/UnitTest1.fs @@ -0,0 +1,8 @@ +module tests + +open NUnit.Framework +open Pentole.TestsExtensions + +[] +let Test1 () = + Assert.Pass() diff --git a/tests/tests.fsproj b/tests/tests.fsproj new file mode 100644 index 0000000..ac00cf8 --- /dev/null +++ b/tests/tests.fsproj @@ -0,0 +1,30 @@ + + + + net8.0 + + false + false + true + + + + + + + + + + + + + + + + + + + + + +