mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[hal] Add a unified PCM object (#3331)
This commit is contained in:
@@ -4,16 +4,9 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "hal/HAL.h"
|
||||
#include "hal/Solenoid.h"
|
||||
|
||||
namespace hal {
|
||||
TEST(HALTests, RuntimeType) {
|
||||
EXPECT_EQ(HAL_RuntimeType::HAL_Mock, HAL_GetRuntimeType());
|
||||
}
|
||||
|
||||
TEST(HALSOLENOID, SolenoidTest) {
|
||||
int32_t status = 0;
|
||||
HAL_InitializeSolenoidPort(0, &status);
|
||||
EXPECT_NE(status, 0);
|
||||
}
|
||||
} // namespace hal
|
||||
|
||||
Reference in New Issue
Block a user