From 31b7755b8254ee4960ea2d8cfbf17c9651c76223 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 14 Jul 2021 14:37:58 +0300 Subject: [PATCH] fix --- src/lib/search-conjugation.test.ts | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/lib/search-conjugation.test.ts diff --git a/src/lib/search-conjugation.test.ts b/src/lib/search-conjugation.test.ts deleted file mode 100644 index 0ad1b65..0000000 --- a/src/lib/search-conjugation.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { searchConjugation } from "./search-conjugation"; -import { conjugateVerb } from "./verb-conjugation"; -import { inflectWord } from "./pashto-inflector"; -import * as T from "../types"; - -test("search should find form", () => { - const conjugation = conjugateVerb( - { i: 0, ts: 1, p: "لیکل", f: "leekul", g: "leekul", e: "to write", c: "v. trans."}, - "aay", - ); - const result = searchConjugation(conjugation as any, "لیکلای شي"); - console.log(JSON.stringify(result)); - expect(result).toBeTruthy(); - const inflection = inflectWord({ i: 0, ts: 1, p: "غټ", f: "ghuT", g: "ghuT", e: "big", c: "adj." }) as T.Inflections; - const iResult = searchConjugation(inflection, "غټو"); - console.log(JSON.stringify(iResult)); - // expect(searchConjugation(conjugation, "ولیکلې")) - // .toEqual([{ - // form: ["perfective", "past", "long"], - // person: T.Person.ThirdPlurFemale, - // }]); - // expect(searchConjugation(conjugation, "ولیکلو")) - // .toEqual([{ - // form: ["perfective", "past", "long"], - // person: T.Person.ThirdSingMale, - // }]); -}) \ No newline at end of file