aboutsummaryrefslogtreecommitdiff
path: root/test/reading/test.ts
blob: a2524de8d30143be9bccedbe0171c386fcb22f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
import { api, assertEquals } from "../base.ts";
import cases from "./cases.ts";

cases.forEach(({input, output}) => {
	Deno.test(`Sentence reading - ${input}`, async () => {
		// TODO: use sentence reading and tags
		var sentence = await api.sentence(input);
		assertEquals(sentence.furigana("refold-tools"), output);
	});
});