summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-09-04 00:05:48 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-09-04 00:05:48 +0800
commit04bc1eb400449056cc9390963355ac245a0ad658 (patch)
tree2d15964d6b28563da1dc6a99b78ae2ba8ef9f9f4
parent77787c09ff7d28469ddb16bf3640f0888da448bf (diff)
updated
-rw-r--r--.DS_Storebin0 -> 6148 bytes
-rw-r--r--shell.machobin0 -> 810648 bytes
-rw-r--r--test.zig25
3 files changed, 0 insertions, 25 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..82ec17e
--- /dev/null
+++ b/.DS_Store
Binary files differ
diff --git a/shell.macho b/shell.macho
new file mode 100644
index 0000000..2af9cda
--- /dev/null
+++ b/shell.macho
Binary files differ
diff --git a/test.zig b/test.zig
deleted file mode 100644
index d59ea17..0000000
--- a/test.zig
+++ /dev/null
@@ -1,25 +0,0 @@
-const std = @import("std");
-const parseInt = std.fmt.parseInt;
-
-test "parse integers" {
- const input = "123 67 89,99";
- const ally = std.testing.allocator;
-
- var list = std.ArrayList(u32).init(ally);
- // Ensure the list is freed at scope exit.
- // Try commenting out this line!
- defer list.deinit();
-
- var it = std.mem.tokenize(u8, input, " ,");
- while (it.next()) |num| {
- const n = try parseInt(u32, num, 10);
- try list.append(n);
- }
-
- const expected = [_]u32{ 123, 67, 89, 99 };
-
- for (expected, list.items) |exp, actual| {
- try std.testing.expectEqual(exp, actual);
- }
-}
-