Peekable
Attributes
- Source
- PeekPokeAPI.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait PeekPokable[T]class TestableData[T]trait TestableAggregate[T]class TestableRecord[T]class TestableVec[T]trait TestableElement[T]class TestableBoolclass TestableEnum[T]class TestableResetclass TestableSIntclass TestableUIntShow all
Members list
Value members
Abstract methods
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
- message
-
a message for the failure case
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Source
- PeekPokeAPI.scala
Get the value of a data port as a literal.
Get the value of a data port as a literal.
Attributes
- Returns
-
the value of the peeked data
- Source
- PeekPokeAPI.scala
Concrete methods
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Source
- PeekPokeAPI.scala
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
- format
-
formatting strategy for rendered values in failure output
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Source
- PeekPokeAPI.scala
Expect the value of a data port to be equal to the expected value.
Expect the value of a data port to be equal to the expected value.
Value parameters
- expected
-
the expected value
- format
-
formatting strategy for rendered values in failure output
- message
-
a message for the failure case
Attributes
- Throws
-
FailedExpectationException
if the observed value does not match the expected value
- Source
- PeekPokeAPI.scala