Closed FilipKernan closed 7 years ago
@FilipKernan, yeah, I think you're right. The manualSolenoid
method should call new MockSolenoid(false);
. Do you want to submit a pull request? (If so, please feel free to add your name to the CONTRIBUTORS
file in the root of the repository in a second commit within the same pull request.)
@rhauch sure. Will do.
Fixed by #87
The instantaneousSolenoid() method and the manualSolenoid() return essentially the same object. From what I have gathered from the code is that the manualSolenoid() should be set to false. `/**
@return the mock solenoid; never null */ public static MockSolenoid instantaneousSolenoid() { return new MockSolenoid(true); }
/**