Added dumb tests.

Yes, they are really dumb
This commit is contained in:
Jesper Saastamoinen 2024-12-13 19:02:49 +01:00
parent bf33e2c821
commit 7004bb208a
4 changed files with 8 additions and 1 deletions

View file

@ -13,6 +13,12 @@ public class FrojStdlibTest {
public void test_Stdlib_Clock() throws IOException { public void test_Stdlib_Clock() throws IOException {
Froj froj = new Froj(); Froj froj = new Froj();
froj.runFile("src/test/com/saasta/froj/stdlib/froj_stdlib_clock.froj"); froj.runFile("src/test/com/saasta/froj/stdlib/froj_stdlib_clock.froj");
froj.runFile("src/test/com/saasta/froj/stdlib/froj_stdlib_fileReader.froj");
try {
froj.runFile("src/test/com/saasta/froj/stdlib/froj_stdlib_socketserver.froj");
} catch(NullPointerException ex){
}
} }
} }

View file

@ -0,0 +1 @@
fileReader("./hello_world.froj");

View file

@ -1 +0,0 @@
input();

View file

@ -0,0 +1 @@
socket("asdf");