mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilibc] Rename SpeedControllerGroupTest.cpp (#4258)
Also move motor controller test files into motorcontrol folder to match Java.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "MockMotorController.h"
|
||||
#include "frc/drive/DifferentialDrive.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "motorcontrol/MockMotorController.h"
|
||||
|
||||
TEST(DifferentialDriveTest, ArcadeDriveIK) {
|
||||
// Forward
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "MockMotorController.h"
|
||||
#include "frc/drive/KilloughDrive.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "motorcontrol/MockMotorController.h"
|
||||
|
||||
TEST(KilloughDriveTest, CartesianIK) {
|
||||
frc::MockMotorController left;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "MockMotorController.h"
|
||||
#include "frc/drive/MecanumDrive.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "motorcontrol/MockMotorController.h"
|
||||
|
||||
TEST(MecanumDriveTest, CartesianIK) {
|
||||
// Forward
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "MockMotorController.h"
|
||||
#include "motorcontrol/MockMotorController.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "MockMotorController.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "motorcontrol/MockMotorController.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
Reference in New Issue
Block a user