diff options
| author | Palmer Dabbelt | 2015-10-24 14:51:34 -0700 |
|---|---|---|
| committer | Palmer Dabbelt | 2015-10-24 14:51:34 -0700 |
| commit | a0a693c668596bdeb5efa39d5ce5953d728b7775 (patch) | |
| tree | d0b56064bfdc797f9f34deff25a7a699017818e1 /src/test/scala/chiselTests/Decoder.scala | |
| parent | 8f906edd711271e8c3eb7fef687e79b249c51d41 (diff) | |
| parent | 3592aaebf04fbcba8a563fde05a15d22bad4e113 (diff) | |
Merge pull request #33 from ucb-bar/teststyle
Fix stylistic issues and document standard Chisel generators for test code
Diffstat (limited to 'src/test/scala/chiselTests/Decoder.scala')
| -rw-r--r-- | src/test/scala/chiselTests/Decoder.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/Decoder.scala b/src/test/scala/chiselTests/Decoder.scala index 69863608..9ac0a3b7 100644 --- a/src/test/scala/chiselTests/Decoder.scala +++ b/src/test/scala/chiselTests/Decoder.scala @@ -33,7 +33,7 @@ class DecoderSpec extends ChiselPropSpec { val bp = bs.map(if(rnd.nextBoolean) _ else "?").mkString ("b" + bs, "b" + bp) } - def nPairs(n: Int) = Gen.containerOfN[List, (String,String)](n,bitpatPair) + private def nPairs(n: Int) = Gen.containerOfN[List, (String,String)](n,bitpatPair) property("BitPat wildcards should be usable in decoding") { forAll(nPairs(16)){ (pairs: List[(String, String)]) => |
