Parallel Letter Frequency
This commit is contained in:
parent
3ca9867a11
commit
af89290bbc
45 changed files with 2862 additions and 0 deletions
10
zig/hello-world/test_hello_world.zig
Normal file
10
zig/hello-world/test_hello_world.zig
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
|
||||
const hello_world = @import("hello_world.zig");
|
||||
|
||||
test "say hi!" {
|
||||
const expected = "Hello, World!";
|
||||
const actual = hello_world.hello();
|
||||
try testing.expectEqualStrings(expected, actual);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue