summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/CompatibilitySpec.scala
diff options
context:
space:
mode:
authorJiuyang Liu2021-11-14 04:30:13 +0800
committerJiuyang Liu2021-11-14 04:30:13 +0800
commit00b6a9a9ef398320fc6ffe451b0a757f69aae7bd (patch)
tree6b001d01b9089bcabda67130c056beefcbb5640e /src/test/scala/chiselTests/CompatibilitySpec.scala
parentd4aa92cef6b067ef6c1c37fc7fde467f0c815767 (diff)
add tests.
Diffstat (limited to 'src/test/scala/chiselTests/CompatibilitySpec.scala')
-rw-r--r--src/test/scala/chiselTests/CompatibilitySpec.scala3
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)