diff options
| author | Jim Lawson | 2015-11-06 14:40:30 -0800 |
|---|---|---|
| committer | Jim Lawson | 2015-11-06 14:40:30 -0800 |
| commit | 85f3006d7eac44ff21111d0f7ece1015164c0fe0 (patch) | |
| tree | 60775f61ca8a481631ba67554a995ef1822b2ec0 /src/test/scala/chiselTests/GCD.scala | |
| parent | 730c951f4271120931062df674a9cd1303d226ad (diff) | |
| parent | 7fe61318433a8ecaac80ef2b547a88ab9dc04aec (diff) | |
Merge pull request #59 from ucb-bar/testing-improvements
Further testing improvements
Diffstat (limited to 'src/test/scala/chiselTests/GCD.scala')
| -rw-r--r-- | src/test/scala/chiselTests/GCD.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/GCD.scala b/src/test/scala/chiselTests/GCD.scala index f2efbcd5..529f9964 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) }) } |
