REVrobotics / SPARK-MAX-Examples

Example code for SPARK MAX
BSD 3-Clause "New" or "Revised" License
106 stars 107 forks source link

unit testing code that uses the spark max #1

Open ariovistus opened 5 years ago

ariovistus commented 5 years ago

is this a supported use case (Java)? We tried incorporating a spark max into our code today and were not able to get our unit tests to pass. We currently use talon SRX and victor SPX, which I suspect don't really support unit testing either, but we seem to be able to work around everything with powermock. So far, with the spark max, the only problem seems to be the static constructor in CANSparkMaxLowLevel.