This commit is contained in:
ucrhh 2021-02-15 16:16:19 +01:00
parent 00511cb4d3
commit 32dd59ef28

View File

@ -18,8 +18,8 @@ class LatexCreatorTermTest {
@Test @Test
void absTest() { void absTest() {
typeInferer = model.getTypeInferer("λx.y", new HashMap<>()).unwrap(); typeInferer = model.getTypeInferer("λx.y", new HashMap<>()).unwrap();
assertEquals(PAREN_LEFT + LAMBDA + SPACE + MONO_TEXT + "{x}" + DOT_SIGN assertEquals(LAMBDA + SPACE + MONO_TEXT + "{x}" + DOT_SIGN
+ LATEX_SPACE + MONO_TEXT + "{y}" + PAREN_RIGHT, + LATEX_SPACE + MONO_TEXT + "{y}",
new LatexCreatorTerm(typeInferer.getFirstInferenceStep().getConclusion().getLambdaTerm()).getLatex()); new LatexCreatorTerm(typeInferer.getFirstInferenceStep().getConclusion().getLambdaTerm()).getLatex());
} }