summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/BitwiseOps.scala
diff options
context:
space:
mode:
authorducky2015-12-10 16:22:59 -0800
committerducky2016-01-30 14:45:55 -0800
commit898efea92e9e13775b39dd7fb92cac420334b9c9 (patch)
treebb7cdb52fbfe90c44de5846f5175b27d894e3b27 /src/test/scala/chiselTests/BitwiseOps.scala
parent8d8c407c0c1693160d6f0972165e376e09aa99c9 (diff)
Add BlackBox support and test, refactor execute => assertTesterPasses
Diffstat (limited to 'src/test/scala/chiselTests/BitwiseOps.scala')
-rw-r--r--src/test/scala/chiselTests/BitwiseOps.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/BitwiseOps.scala b/src/test/scala/chiselTests/BitwiseOps.scala
index 31feaada..19aa956c 100644
--- a/src/test/scala/chiselTests/BitwiseOps.scala
+++ b/src/test/scala/chiselTests/BitwiseOps.scala
@@ -21,7 +21,7 @@ class BitwiseOpsTester(w: Int, _a: Int, _b: Int) extends BasicTester {
class BitwiseOpsSpec extends ChiselPropSpec {
property("All bit-wise ops should return the correct result") {
forAll(safeUIntPair) { case(w: Int, a: Int, b: Int) =>
- assert(execute{ new BitwiseOpsTester(w, a, b) })
+ assertTesterPasses{ new BitwiseOpsTester(w, a, b) }
}
}
}