Fix tests for LinearAlgebra
This commit is contained in:
parent
61b571c1a8
commit
3ba71b7330
@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.13) # CMake version check
|
||||
if(ESP_PLATFORM)
|
||||
set(sourcedirs
|
||||
.
|
||||
VectorAlgebra
|
||||
LinearAlgebra
|
||||
)
|
||||
|
||||
set(includedirs
|
||||
.
|
||||
VectorAlgebra
|
||||
LinearAlgebra
|
||||
)
|
||||
|
||||
idf_component_register(
|
||||
@ -18,7 +18,7 @@ if(ESP_PLATFORM)
|
||||
endif()
|
||||
|
||||
project(RoboidControl)
|
||||
add_subdirectory(VectorAlgebra)
|
||||
add_subdirectory(LinearAlgebra)
|
||||
add_subdirectory(test)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
@ -37,7 +37,7 @@ FetchContent_MakeAvailable(googletest)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
VectorAlgebra
|
||||
LinearAlgebra
|
||||
)
|
||||
|
||||
add_library(RoboidControl STATIC
|
||||
@ -56,16 +56,4 @@ add_library(RoboidControl STATIC
|
||||
|
||||
enable_testing()
|
||||
|
||||
# add_executable(
|
||||
# RoboidControlTest
|
||||
# "test/BB2B_Test.cc"
|
||||
# )
|
||||
# target_link_libraries(
|
||||
# RoboidControlTest
|
||||
# gtest_main
|
||||
# RoboidControl
|
||||
# VectorAlgebra
|
||||
# )
|
||||
|
||||
include(GoogleTest)
|
||||
# gtest_discover_tests(RoboidControlTest)
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include "../DifferentialDrive.h"
|
||||
#include "../DistanceSensor.h"
|
||||
#include "../LinearAlgebra/Angle.h"
|
||||
#include "../Roboid.h"
|
||||
#include "../VectorAlgebra/Angle.h"
|
||||
|
||||
/// @brief A Distance sensor with testing support
|
||||
/// With this sensor it is possible to simulate a measurement
|
||||
|
Loading…
x
Reference in New Issue
Block a user