diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-07-15 21:52:57 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-07-15 21:52:57 +0200 |
commit | 8e179a43e909ce4683f753a90bb3505630f05ad8 (patch) | |
tree | 5e46594af33ba7f82d1bd5ea954b99b4a92d0093 /test/reading | |
parent | 3dc9484fc81db8f3c8ffd4ebb4bab042e66c6214 (diff) |
implement alternate writings (failing tests down to 500)
Diffstat (limited to 'test/reading')
-rw-r--r-- | test/reading/test.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/reading/test.ts b/test/reading/test.ts index a2524de..c1e7de4 100644 --- a/test/reading/test.ts +++ b/test/reading/test.ts @@ -1,8 +1,9 @@ -import { api, assertEquals } from "../base.ts"; +import { api, assertEquals, formatCaseIndex } from "../base.ts"; import cases from "./cases.ts"; -cases.forEach(({input, output}) => { - Deno.test(`Sentence reading - ${input}`, async () => { +cases.forEach(({input, output}, i) => { + // if (i != 1) return; + Deno.test(`Sentence reading ${formatCaseIndex(i, cases.length)} - ${input}`, async () => { // TODO: use sentence reading and tags var sentence = await api.sentence(input); assertEquals(sentence.furigana("refold-tools"), output); |