Skip to content

Commit

Permalink
refactor: follow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FaaizHaikal committed Mar 3, 2024
1 parent 33a4d51 commit 0c44db8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/fallen/determinant_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "kansei/fallen/fallen.hpp"

TEST(DeterminantTest, DeterminantType) {
kansei::fallen::FallenDeterminant fallen_determinant(kansei::fallen::DeterminantType::ACCELERO);
kansei::fallen::FallenDeterminant fallen_determinant("accelero");

ASSERT_EQ(kansei::fallen::DeterminantType::ACCELERO, fallen_determinant.get_determinant_type());
}
3 changes: 1 addition & 2 deletions test/fallen/fallen_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class FallenTest : public testing::Test
{
protected:
FallenTest()
: fallen_determinant(kansei::fallen::FallenDeterminant(
kansei::fallen::DeterminantType::ACCELERO))
: fallen_determinant(kansei::fallen::FallenDeterminant("accelero"))
{
}

Expand Down
5 changes: 3 additions & 2 deletions test/node/kansei_node_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ TEST(KanseiNodeTest, CompileProcess) {
kansei::KanseiNode kansei_node(node);

kansei_node.set_measurement_unit(std::make_shared<kansei::measurement::Filter>());

kansei_node.set_fallen_determinant(
std::make_shared<kansei::fallen::FallenDeterminant>(
kansei::fallen::DeterminantType::ACCELERO));
std::make_shared<kansei::fallen::FallenDeterminant>("accelero"));
std::cout << "Fallen determinant" << std::endl;
} catch (...) {
}
}

0 comments on commit 0c44db8

Please sign in to comment.