All Classes and Interfaces
Class
Description
Wraps a CircuitSim Pin component.
Converts String arguments into integers using the base corresponding to their prefix.
Allows pretending to push a button placed in a subcircuit.
Extends JUnit to understand testing CircuitSim subcircuits.
Allows pretending to tick a Clock component placed in a subcircuit.
Wraps a CircuitSim input
Pin
component and provides a
convenience method for setting its value.Similar to
MockRegister
but much simpler: manipulates an InputPin
which replaced a clock or button and is used to send "pulses" into the
circuit.Represents a "ghost" register: a register component replaced with Pin
components for easier testing.
Wraps a CircuitSim output
Pin
component and provides a
convenience method for setting its value.Wraps a CircuitSim RAM component.
Wraps a CircuitSim Register component.
Validates a subcircuit by checking for issues such as banned
components.
Wraps a CircuitSim ROM component.
Represents and wraps the subcircuit to test.
Please see
Subcircuit.lookupMemory(String,int,boolean,MemoryType)
for details on this enum.Please see
Subcircuit.mockPulser(String,boolean,PulserType)
for details on this enum.Instructs
CircuitSimExtension
to find and inject a CircuitSim
component into the annotated field in a test class.Please see
SubcircuitComponent.type()
for details on this enum.Marks this JUnit test class as testing a subcircuit with the provided
.sim
file path and subcircuit name.