forked from Spencer/math_shell
Compare commits
2 Commits
ee5ef262f6
...
a458e4f55c
| Author | SHA1 | Date | |
|---|---|---|---|
| a458e4f55c | |||
| 8b459cb7cb |
@@ -122,10 +122,10 @@ fn mathTest(rand: Random, limit: i32, iteration: u32) !bool {
|
|||||||
|
|
||||||
defer {
|
defer {
|
||||||
print("Calculating", .{});
|
print("Calculating", .{});
|
||||||
for (1..4) |_| {
|
for (0..3) |_| {
|
||||||
print(".", .{});
|
print(".", .{});
|
||||||
if (comptime builtin.mode != .Debug) {
|
if (comptime builtin.mode != .Debug) {
|
||||||
std.Thread.sleep(2 * 1000 * 1000 * 1000);
|
sleep(2 * 1000 * 1000 * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print("\n", .{});
|
print("\n", .{});
|
||||||
@@ -303,6 +303,8 @@ const tokenizeAny = mem.tokenizeAny;
|
|||||||
|
|
||||||
const process = std.process;
|
const process = std.process;
|
||||||
|
|
||||||
|
const sleep = std.Thread.sleep;
|
||||||
|
|
||||||
const Random = std.Random;
|
const Random = std.Random;
|
||||||
const ArrayList = std.ArrayList;
|
const ArrayList = std.ArrayList;
|
||||||
const StaticStringMap = std.static_string_map.StaticStringMap;
|
const StaticStringMap = std.static_string_map.StaticStringMap;
|
||||||
|
|||||||
Reference in New Issue
Block a user