Move AsVector utility to fixture.h

PiperOrigin-RevId: 690577546
Change-Id: I2cebcffa1f2e3b0789f43e772e364c4762719ab3
This commit is contained in:
Yuval Tassa
2024-10-28 05:51:05 -07:00
committed by Copybara-Service
parent d95befaddd
commit a4a6248a06
15 changed files with 8 additions and 67 deletions
-4
View File
@@ -33,10 +33,6 @@
namespace mujoco {
namespace {
std::vector<mjtNum> AsVector(const mjtNum* array, int n) {
return std::vector<mjtNum>(array, array + n);
}
using ::std::string;
using ::testing::AllOf;
using ::testing::ElementsAre;