# C++ unit tests:
mola_add_test(
  TARGET  test_imu_helpers
  SOURCES test_imu_helpers.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_pose3_rotation_yaw_bias_factor
  SOURCES test_pose3_rotation_yaw_bias_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_imu_preintegration_body_vel_factor
  SOURCES test_imu_preintegration_body_vel_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_tricycle_kinematic_factor
  SOURCES test_tricycle_kinematic_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_mrpt_gtsam_compat
  SOURCES test_mrpt_gtsam_compat.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_gnss_map_enu_const_vel_factor
  SOURCES test_gnss_map_enu_const_vel_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_gnss_map_enu_bias_factor
  SOURCES test_gnss_map_enu_bias_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_imu_integrate_readings
  SOURCES test_imu_integrate_readings.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)

mola_add_test(
  TARGET  test_gyro_preintegration_factor
  SOURCES test_gyro_preintegration_factor.cpp
  LINK_LIBRARIES
    mola::mola_gtsam_factors
)
