Skip to content

Commit

Permalink
Added CheckOverflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Jul 25, 2023
1 parent ffa942b commit 7d3d9bc
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,19 @@ class TestFrontendXcfaBuilder {

@Test
@Throws(IOException::class)
fun parse() {
fun testReachability() {

val stream = javaClass.getResourceAsStream(filepath)

getXcfaFromC(stream!!, ParseContext(), false, false)
}

@Test
@Throws(IOException::class)
fun testOverflow() {

val stream = javaClass.getResourceAsStream(filepath)

getXcfaFromC(stream!!, ParseContext(), false, true)
}
}

0 comments on commit 7d3d9bc

Please sign in to comment.