Skip to content

Instantly share code, notes, and snippets.

@birojow
Last active July 6, 2024 15:25
Show Gist options
  • Save birojow/62c0279db285f65a21560fb725d7d547 to your computer and use it in GitHub Desktop.
Save birojow/62c0279db285f65a21560fb725d7d547 to your computer and use it in GitHub Desktop.
@Test
fun shouldCalculateExpressionsCorrectly() {
arrange {
enterFormula("((515 + 87 x 311) - 302) ÷ 27")
}
act {
performCalculation()
}
assert {
assertResultIs("1010.0")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment