mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilibc] Add unit test for fast deconstruction of GenericHID (#4953)
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
|
||||
using namespace frc;
|
||||
|
||||
// https://github.com/wpilibsuite/allwpilib/issues/1550
|
||||
TEST(JoystickTest, FastDeconstruction) {
|
||||
Joystick joystick{0};
|
||||
}
|
||||
|
||||
AXIS_TEST(Joystick, X)
|
||||
AXIS_TEST(Joystick, Y)
|
||||
AXIS_TEST(Joystick, Z)
|
||||
|
||||
Reference in New Issue
Block a user