summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests
diff options
context:
space:
mode:
authorPaul Rigge2016-11-10 15:15:35 -0800
committerducky2016-11-21 12:48:10 -0800
commit657befd9f948e54bf17f5d5f7fcacae96f93e86d (patch)
tree2d23772b8ddfa2693044b394e7bb6a8c94dc26f2 /src/test/scala/chiselTests
parent5499975f038eea469adfdd819d3727ea89686a39 (diff)
Change some of the test names.
Diffstat (limited to 'src/test/scala/chiselTests')
-rw-r--r--src/test/scala/chiselTests/RangeSpec.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/scala/chiselTests/RangeSpec.scala b/src/test/scala/chiselTests/RangeSpec.scala
index 90189e0a..15b3092b 100644
--- a/src/test/scala/chiselTests/RangeSpec.scala
+++ b/src/test/scala/chiselTests/RangeSpec.scala
@@ -30,7 +30,7 @@ class RangeSpec extends FreeSpec with Matchers {
hi should be (Open(1))
}
}
- "to specify a UInt" in {
+ "UInt should get the correct width from a range" in {
UInt(range"[0, 8)").getWidth should be (3)
UInt(range"[0, 8]").getWidth should be (4)
@@ -38,7 +38,7 @@ class RangeSpec extends FreeSpec with Matchers {
UInt(range"[0, 0]").getWidth should be (1)
}
- "to specify an SInt" in {
+ "SInt should get the correct width from a range" in {
SInt(range"[0, 8)").getWidth should be (4)
SInt(range"[0, 8]").getWidth should be (5)
@@ -48,7 +48,7 @@ class RangeSpec extends FreeSpec with Matchers {
SInt(range"[0, 0]").getWidth should be (1)
}
- "it should check that the range is valid for UInt" in {
+ "UInt should check that the range is valid" in {
an [IllegalArgumentException] should be thrownBy {
UInt(range"[1, 0]")
}
@@ -70,7 +70,7 @@ class RangeSpec extends FreeSpec with Matchers {
}
}
- "it should check that the range is valid for SInt" in {
+ "SInt should check that the range is valid" in {
an [IllegalArgumentException] should be thrownBy {
SInt(range"[1, 0]")
}