Commit 50b8ac45 authored by Christophe Gonzales's avatar Christophe Gonzales

fixing error in DatabaseTable testunit + adding ressource for structuralLearning python notebook

parent 6f086b8c
Pipeline #21753406 passed with stages
in 53 minutes and 46 seconds
......@@ -1137,25 +1137,32 @@ namespace gum_tests {
TS_ASSERT( vnames[2] == "var2" );
TS_ASSERT( vnames[3] == "var3" );
// row 0
std::vector<std::string> row { "L0", "L1", "L2", "L0" };
database.insertRow( row );
// row 1
row[0] = "?";
database.insertRow( row );
// row 2
row[0] = "L0";
row[1] = "?";
database.insertRow( row );
// row 3
row[2] = "N/A";
database.insertRow( row );
// row 4
row[0] = "???";
database.insertRow( row );
// row 5
row[0] = "L0";
row[1] = "L0";
row[2] = "L0";
database.insertRow( row );
TS_ASSERT ( database.hasMissingValues () );
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment