From 7fe61318433a8ecaac80ef2b547a88ab9dc04aec Mon Sep 17 00:00:00 2001 From: Henry Cook Date: Fri, 6 Nov 2015 13:23:24 -0800 Subject: added elaboration tests for remaining old Chisel3 examples --- src/test/scala/chiselTests/GCD.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/test/scala/chiselTests/GCD.scala') 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) }) } -- cgit v1.2.3