blob: d74228c7796bcbeefdc35212513376289ad9c53d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { api, assertStrDiff, formatCaseIndex } from "../base.ts";
import cases from "./cases.ts";
cases.forEach(({input, output}, i) => {
// if (i != 1) return;
Deno.test(`Sentence reading ${formatCaseIndex(i, cases.length)} - ${input}`, async () => {
// TODO: use domain/series tags
var sentence = await api.sentence(input);
assertStrDiff(output, sentence.furigana("refold-tools"));
});
});
|