Move AsVector utility to fixture.h
PiperOrigin-RevId: 690577546 Change-Id: I2cebcffa1f2e3b0789f43e772e364c4762719ab3
This commit is contained in:
committed by
Copybara-Service
parent
d95befaddd
commit
a4a6248a06
@@ -15,7 +15,6 @@
|
||||
// Tests for engine/engine_util_spatial.c
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
@@ -36,10 +35,6 @@ using ::testing::Pointwise;
|
||||
|
||||
using Quat2MatTest = MujocoTest;
|
||||
|
||||
std::vector<mjtNum> AsVector(const mjtNum* array, int n) {
|
||||
return std::vector<mjtNum>(array, array + n);
|
||||
}
|
||||
|
||||
TEST_F(Quat2MatTest, NoRotation) {
|
||||
mjtNum result[9] = {0};
|
||||
mjtNum quat[] = {1, 0, 0, 0};
|
||||
|
||||
Reference in New Issue
Block a user