diff options
| author | Henry Cook | 2015-08-12 19:32:43 -0700 |
|---|---|---|
| committer | Henry Cook | 2015-08-12 19:32:57 -0700 |
| commit | 85d7403f9bf7bc2b3520f924736c237f21f70ebd (patch) | |
| tree | 64560f779063a419395a2fb8a31ea52c52af4404 /src/test/scala/ChiselTests/ChiselSpec.scala | |
| parent | 7e69966362b1dbd9835695250494857f3a3767c8 (diff) | |
being to convert tests to scala-test; tests compile and run
Diffstat (limited to 'src/test/scala/ChiselTests/ChiselSpec.scala')
| -rw-r--r-- | src/test/scala/ChiselTests/ChiselSpec.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/scala/ChiselTests/ChiselSpec.scala b/src/test/scala/ChiselTests/ChiselSpec.scala new file mode 100644 index 00000000..25ccf947 --- /dev/null +++ b/src/test/scala/ChiselTests/ChiselSpec.scala @@ -0,0 +1,12 @@ +package Chisel +import org.scalatest._ +import org.scalatest.prop._ +import org.scalacheck._ + +class ChiselSpec extends FlatSpec with PropertyChecks { + + val safeUIntWidth = Gen.choose(1, 31) + val safeUInts = Gen.choose(0, (1 << 30)) + +} + |
