-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d404106
commit da60af2
Showing
9 changed files
with
62 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { assertEquals } from "@std/assert"; | ||
import { main } from "./main.ts"; | ||
|
||
Deno.test("correct something for sample", async () => { | ||
Deno.test("correct placeholder for sample", async () => { | ||
const result = await main("sample"); | ||
assertEquals(result.text, ""); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { assertEquals } from "@std/assert"; | ||
import { main } from "./main.ts"; | ||
|
||
Deno.test("correct strict safe count for sample", async () => { | ||
Deno.test("correct safe count for sample", async () => { | ||
const result = await main("sample"); | ||
assertEquals(result.safe, 2); | ||
assertEquals(result.safeLines, 2); | ||
}); | ||
|
||
Deno.test("correct dampended safe count for sample", async () => { | ||
const result = await main("sample"); | ||
assertEquals(result.dampSafe, 4); | ||
assertEquals(result.dampenedSafeLines, 4); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { assertEquals } from "@std/assert"; | ||
import { main } from "./main.ts"; | ||
|
||
Deno.test("correct quotient for sample", async () => { | ||
Deno.test("correct quotient sum for sample", async () => { | ||
const result = await main("sample"); | ||
assertEquals(result.mulQuo, 161); | ||
assertEquals(result.quotientSum, 161); | ||
}); | ||
|
||
Deno.test("correct quotient for sample2", async () => { | ||
const result = await main("sample2"); | ||
assertEquals(result.doQuo, 48); | ||
Deno.test("correct quotient sum for sample with do", async () => { | ||
const result = await main("sample-do"); | ||
assertEquals(result.doQuotientSum, 48); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters