Skip to content

Commit

Permalink
Deletes test
Browse files Browse the repository at this point in the history
  • Loading branch information
RebekkaMa committed Jul 6, 2022
1 parent affbaa6 commit c8b2529
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/test/kotlin/ParseTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@ class ParseTest {
File("src/test/resources/small/gold_b.mrg").readText() shouldBe outputStreamCaptor.toString()
}

@Test
fun parseGoldShortWithAFormat(){
val sentencesFile = File("src/test/resources/small/sentences")
val standardOut = System.out
val outputStreamCaptor = ByteArrayOutputStream()
System.setOut(PrintStream(outputStreamCaptor))
val sentences = sentencesFile.inputStream()
System.setIn(sentences)

Parse().parse(listOf("-a", "src/test/resources/outsideShort.txt", "src/test/resources/small/grammar.rules", "src/test/resources/small/grammar.lexicon"))


File("src/test/resources/small/gold_b.mrg").readText() shouldBe outputStreamCaptor.toString()
}

@Test
fun parseWithRank6() {
val outputStreamCaptor = ByteArrayOutputStream()
Expand Down

0 comments on commit c8b2529

Please sign in to comment.