mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
artf4818: Fix CAN Talon JNI references with underscores.
Add test to verify bindings are correct Change-Id: I766f2d7ff32a1bee2289974e331a4d8d5d563a35
This commit is contained in:
@@ -68,3 +68,9 @@ TEST(CANTalonTest, DISABLED_PositionModeWorks) {
|
||||
talon.Disable();
|
||||
EXPECT_NEAR(talon.Get(), 500, 1000);
|
||||
}
|
||||
|
||||
TEST(CANTalonTest, GetFaults) {
|
||||
CANTalon talon(deviceId);
|
||||
EXPECT_EQ(talon.GetFaults(),0);
|
||||
EXPECT_EQ(talon.GetStickyFaults(),0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user