summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Stop.scala
blob: 4afb077aaeb7eb434804e935ea88cd8d8c8ac9c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// See LICENSE for license details.

package chiselTests

import org.scalatest._
import chisel3._
import chisel3.testers.BasicTester

class StopTester() extends BasicTester {
  stop()
}

class StopSpec extends ChiselFlatSpec {
  "stop()" should "stop and succeed the testbench" in {
    assertTesterPasses { new StopTester }
  }
}