Skip to content

Commit

Permalink
test(runtime): use C++ modules for LA test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Sep 16, 2023
1 parent 7f5b824 commit cd05802
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/unit_test/runtime/linear_algebra_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@
// SOFTWARE.

#include <catch2/catch_test_macros.hpp>
#include <mp-units/bits/fmt_hacks.h>
#include <cmath>
#include <matrix>
#ifdef MP_UNITS_MODULES
import mp_units;
#else
#include <mp-units/customization_points.h>
#include <mp-units/format.h>
#include <mp-units/math.h>
#include <mp-units/ostream.h>
#include <mp-units/systems/isq/mechanics.h>
#include <mp-units/systems/isq/space_and_time.h>
#include <mp-units/systems/si/si.h>
#include <cmath>
#include <matrix>
#endif

template<typename Rep = double>
using vector = STD_LA::fixed_size_column_vector<Rep, 3>;
Expand Down

0 comments on commit cd05802

Please sign in to comment.