diff options
| author | Jiuyang Liu | 2021-11-14 04:30:13 +0800 |
|---|---|---|
| committer | Jiuyang Liu | 2021-11-14 04:30:13 +0800 |
| commit | 00b6a9a9ef398320fc6ffe451b0a757f69aae7bd (patch) | |
| tree | 6b001d01b9089bcabda67130c056beefcbb5640e /src | |
| parent | d4aa92cef6b067ef6c1c37fc7fde467f0c815767 (diff) | |
add tests.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/scala/chiselTests/CompatibilitySpec.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/CompatibilitySpec.scala b/src/test/scala/chiselTests/CompatibilitySpec.scala index ccf287a6..7ac67b7c 100644 --- a/src/test/scala/chiselTests/CompatibilitySpec.scala +++ b/src/test/scala/chiselTests/CompatibilitySpec.scala @@ -536,6 +536,9 @@ class CompatibiltySpec extends ChiselFlatSpec with ScalaCheckDrivenPropertyCheck info("toUInt works") s.toUInt shouldBe a [UInt] + + info("toBools works") + s.toBools shouldBe a [Seq[Bool]] } ChiselStage.elaborate(new Foo) |
