summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/GCD.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/GCD.scala')
-rw-r--r--src/test/scala/chiselTests/GCD.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/GCD.scala b/src/test/scala/chiselTests/GCD.scala
index acc1e84e..27e147f4 100644
--- a/src/test/scala/chiselTests/GCD.scala
+++ b/src/test/scala/chiselTests/GCD.scala
@@ -48,7 +48,11 @@ class GCDSpec extends ChiselPropSpec {
( 12, 9, 3),
( 48, 64, 12))
- property("GCD should return the correct result") {
+ property("GCD should elaborate") {
+ elaborate { new GCD }
+ }
+
+ property("GCDTester should return the correct result") {
forAll (gcds) { (a: Int, b: Int, z: Int) =>
assert(execute{ new GCDTester(a, b, z) })
}