mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[hal] Add handle constructor and name getters for sim devices (#4925)
This commit is contained in:
@@ -20,6 +20,8 @@ TEST(SimDeviceSimTest, Basic) {
|
||||
EXPECT_FALSE(simBool.Get());
|
||||
simBool.Set(true);
|
||||
EXPECT_TRUE(devBool.Get());
|
||||
|
||||
EXPECT_EQ(sim.GetName(), "test");
|
||||
}
|
||||
|
||||
TEST(SimDeviceSimTest, EnumerateDevices) {
|
||||
|
||||
Reference in New Issue
Block a user