aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Dessaux2024-02-03 00:29:42 +0100
committerJulien Dessaux2024-02-03 00:29:42 +0100
commit8048ef0c756553dc88192ab13ae658d1ab9a94a2 (patch)
treec668df4c46f9bf12d9790a74ddc793601f026059 /src
parentBumped the mycology test suite to the last version (diff)
downloadzigfunge98-master.tar.gz
zigfunge98-master.tar.bz2
zigfunge98-master.zip
Removed useless testing boilerplateHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/field.zig3
-rw-r--r--src/interpreter.zig4
-rw-r--r--src/io.zig4
-rw-r--r--src/main.zig3
-rw-r--r--src/pointer.zig3
-rw-r--r--src/stack.zig4
-rw-r--r--src/stackStack.zig4
7 files changed, 0 insertions, 25 deletions
diff --git a/src/field.zig b/src/field.zig
index bf170fb..079bb81 100644
--- a/src/field.zig
+++ b/src/field.zig
@@ -457,9 +457,6 @@ pub const Field = struct {
}
};
-test "all" {
- std.testing.refAllDecls(@This());
-}
test "hello" {
var hello = std.io.fixedBufferStream("64+\"!dlroW ,olleH\">:#,_@\n");
var f = try Field.init_from_reader(std.testing.allocator, hello.reader());
diff --git a/src/interpreter.zig b/src/interpreter.zig
index 37ebba9..5c9f484 100644
--- a/src/interpreter.zig
+++ b/src/interpreter.zig
@@ -41,7 +41,3 @@ pub const Interpreter = struct {
return null;
}
};
-
-test "all" {
- std.testing.refAllDecls(@This());
-}
diff --git a/src/io.zig b/src/io.zig
index 2cc0047..b37d172 100644
--- a/src/io.zig
+++ b/src/io.zig
@@ -80,7 +80,3 @@ pub fn context(reader: anytype, writer: anytype) Context(@TypeOf(reader), @TypeO
.writer = writer,
};
}
-
-test "all" {
- std.testing.refAllDecls(@This());
-}
diff --git a/src/main.zig b/src/main.zig
index 920d306..381a6cb 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -25,9 +25,6 @@ pub fn main() anyerror!void {
const testTimestamp: i64 = 1660681247;
-test "all" {
- std.testing.refAllDecls(@This());
-}
test "sanity" {
var file = try std.fs.cwd().openFile("mycology/sanity.bf", .{});
defer file.close();
diff --git a/src/pointer.zig b/src/pointer.zig
index eeb1204..ce170af 100644
--- a/src/pointer.zig
+++ b/src/pointer.zig
@@ -445,9 +445,6 @@ pub const Pointer = struct {
const testTimestamp: i64 = 1660681247;
-test "all" {
- std.testing.refAllDecls(@This());
-}
test "minimal" {
var minimal = std.io.fixedBufferStream("@");
var f = try field.Field.init_from_reader(std.testing.allocator, minimal.reader());
diff --git a/src/stack.zig b/src/stack.zig
index dd76af1..58c7103 100644
--- a/src/stack.zig
+++ b/src/stack.zig
@@ -157,7 +157,3 @@ pub const Stack = struct {
}
}
};
-
-test "all" {
- std.testing.refAllDecls(@This());
-}
diff --git a/src/stackStack.zig b/src/stackStack.zig
index d846429..79ef7cc 100644
--- a/src/stackStack.zig
+++ b/src/stackStack.zig
@@ -174,7 +174,3 @@ pub const StackStack = struct {
return self.toss;
}
};
-
-test "all" {
- std.testing.refAllDecls(@This());
-}