Last active
December 17, 2015 18:19
-
-
Save minisu/5652345 to your computer and use it in GitHub Desktop.
A non-standard way of implementing TableLogTest in Scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TableLogTest extends FunSpec with FxIntegrationTest { | |
startingState = ProjectLoadedWithoutAgentsState.STATE | |
"A TableLog" should "have no rows to begin with" in { | |
create a TableLog | |
tableRows should be (empty) | |
} | |
it should "display rows when getting input" in { | |
connect a FixedRateGenerator to a TableLog | |
runTestFor( 3 seconds ) | |
tableRows should not be (empty) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment