diff options
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) } } } } |
