| 113 | } |
| 114 | |
| 115 | void TestProblemModelSet::testModelListing() |
| 116 | { |
| 117 | QVector<ModelData> models = m_set->models(); |
| 118 | QCOMPARE(models.size(), testModelCount); |
| 119 | |
| 120 | for (int i = 0; i < testModelCount; i++) { |
| 121 | QCOMPARE(models[i].name, m_testData[i].name); |
| 122 | QCOMPARE(models[i].model, m_testData[i].model); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | void TestProblemModelSet::testRemoveModel() |
| 127 | { |