Mercurial
>
fedipeater
/ annotate
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
latest
revisions
annotate
diff
comparison
raw
main_test.ts@a3bb50016d6f (annotated)
main_test.ts
Fri, 19 Sep 2025 11:49:40 +0800
author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Fri, 19 Sep 2025 11:49:40 +0800
changeset 0
a3bb50016d6f
permissions
-rw-r--r--
Initial Commit
0
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
1
import { assertEquals } from "@std/assert";
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
2
import { add } from "./main.ts";
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
3
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
4
Deno.test(function addTest() {
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
5
assertEquals(add(2, 3), 5);
a3bb50016d6f
Initial Commit
Gong Zhile <gongzl@stu.hebust.edu.cn>
parents:
diff
changeset
6
});