Skip to content

Commit

Permalink
[CI] remove use of usless files
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Nov 6, 2024
1 parent 4c913a2 commit 1307829
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion files/testIndividuals.owl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
xmlns:positionProperty="ontologenius/positionProperty#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="ontologenius/testIndividuals">
<owl:imports rdf:resource="ontologenius/files/property"/>
<owl:imports rdf:resource="ontologenius/files/attribute"/>
<owl:imports rdf:resource="ontologenius/files/positionProperty"/>
</owl:Ontology>
Expand Down
12 changes: 6 additions & 6 deletions src/tests/CI/feature_loading_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ TEST(feature_loading, reset)
if(res.empty() == false)
EXPECT_EQ(res.front(), "affair");

res = onto_ptr->classes.find("centimeter");
res = onto_ptr->classes.find("pink");
EXPECT_EQ(res.size(), 1);
if(res.empty() == false)
EXPECT_EQ(res.front(), "centimeter");
EXPECT_EQ(res.front(), "pink");

EXPECT_TRUE(onto_ptr->actions.clear());
EXPECT_TRUE(onto_ptr->actions.close());
Expand All @@ -31,10 +31,10 @@ TEST(feature_loading, reset)
if(res.empty() == false)
EXPECT_NE(res.front(), "affair");

res = onto_ptr->classes.find("centimeter");
res = onto_ptr->classes.find("pink");
EXPECT_NE(res.size(), 1);
if(res.empty() == false)
EXPECT_NE(res.front(), "centimeter");
EXPECT_NE(res.front(), "pink");

EXPECT_TRUE(onto_ptr->actions.clear());
std::string path = ros::package::getPath("ontologenius");
Expand All @@ -48,10 +48,10 @@ TEST(feature_loading, reset)
if(res.empty() == false)
EXPECT_EQ(res.front(), "affair");

res = onto_ptr->classes.find("centimeter");
res = onto_ptr->classes.find("pink");
EXPECT_NE(res.size(), 1);
if(res.empty() == false)
EXPECT_NE(res.front(), "centimeter");
EXPECT_NE(res.front(), "pink");
}

TEST(feature_loading, language)
Expand Down

0 comments on commit 1307829

Please sign in to comment.