diff options
Diffstat (limited to 'modules/core/tests/math.cpp')
| -rw-r--r-- | modules/core/tests/math.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/tests/math.cpp b/modules/core/tests/math.cpp index d456ce8..3224e40 100644 --- a/modules/core/tests/math.cpp +++ b/modules/core/tests/math.cpp @@ -5,25 +5,25 @@ namespace { namespace sch { -using namespace saw::schema; +using namespace kel::lbm::sch; } SAW_TEST("Math 1-Linear"){ using namespace kel; - saw::data<sch::FixedArray<sch::Vector<sch::Float64,1u>,2u>> field; + kel::lbm::data<sch::FixedArray<sch::Vector<sch::Float64,1u>,2u>> field; { field.at({{0u}}).at({{0u}}).set(-1.0); field.at({{1u}}).at({{0u}}).set(2.0); } - saw::data<sch::Vector<sch::Float64,1u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,1u>> pos; pos.at({{0u}}).set(0.3); } SAW_TEST("Math/Floor Index and Fraction from Position"){ using namespace kel; - saw::data<sch::Vector<sch::Float64,2u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,2u>> pos; { pos.at({{0u}}) = 43.999; @@ -48,14 +48,14 @@ SAW_TEST("Math/Floor Index and Fraction from Position"){ SAW_TEST("Math/Floor Index and Fraction from Position and Bounded"){ using namespace kel; - saw::data<sch::Vector<sch::Float64,2u>> pos; + kel::lbm::data<sch::Vector<sch::Float64,2u>> pos; { pos.at({{0u}}) = 43.999; pos.at({{1u}}) = -50.0; } - saw::data<sch::Vector<sch::UInt64,2U>> bound; + kel::lbm::data<sch::Vector<sch::UInt64,2U>> bound; { bound.at({{0u}}) = 32u; bound.at({{1u}}) = 16u; |
