diff options
| author | Andrew Waterman | 2016-02-04 00:00:19 -0800 |
|---|---|---|
| committer | Andrew Waterman | 2016-02-04 00:00:19 -0800 |
| commit | 62fa95acc5d3d301fe461c5844c29d0c75ca6a5d (patch) | |
| tree | 89893f19fba9aacc7e18ba8013b428e9f1e03482 /src/test/scala/chiselTests/Counter.scala | |
| parent | 7fc2ea6a14da441db9c47d094361fea07436f6d3 (diff) | |
| parent | c5240a3bfe1c05a206c7c34c3c7c5007bbcc3680 (diff) | |
Merge branch 'blackbox't push origin master
Diffstat (limited to 'src/test/scala/chiselTests/Counter.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Counter.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/chiselTests/Counter.scala b/src/test/scala/chiselTests/Counter.scala index aa21423f..d5cd7e5d 100644 --- a/src/test/scala/chiselTests/Counter.scala +++ b/src/test/scala/chiselTests/Counter.scala @@ -37,14 +37,14 @@ class WrapTester(max: Int) extends BasicTester { class CounterSpec extends ChiselPropSpec { property("Counter should count up") { - forAll(smallPosInts) { (max: Int) => assert(execute{ new CountTester(max) }) } + forAll(smallPosInts) { (max: Int) => assertTesterPasses{ new CountTester(max) } } } property("Counter can be en/disabled") { - forAll(safeUInts) { (seed: Int) => assert(execute{ new EnableTester(seed) }) } + forAll(safeUInts) { (seed: Int) => assertTesterPasses{ new EnableTester(seed) } } } property("Counter should wrap") { - forAll(smallPosInts) { (max: Int) => assert(execute{ new WrapTester(max) }) } + forAll(smallPosInts) { (max: Int) => assertTesterPasses{ new WrapTester(max) } } } } |
