Mercurial > hg > svcore
diff data/model/test/TestSparseModels.h @ 1663:a77a7e8c085c single-point
Update ImageModel
author | Chris Cannam |
---|---|
date | Fri, 22 Mar 2019 17:49:10 +0000 |
parents | 628ffbb05856 |
children | 69ab62d378bf |
line wrap: on
line diff
--- a/data/model/test/TestSparseModels.h Fri Mar 22 13:32:09 2019 +0000 +++ b/data/model/test/TestSparseModels.h Fri Mar 22 17:49:10 2019 +0000 @@ -253,9 +253,9 @@ PathPoint p1(20, 30); PathPoint p2(40, 60); PathPoint p3(50, 49); - m.addPoint(p1); - m.addPoint(p2); - m.addPoint(p3); + m.add(p1); + m.add(p2); + m.add(p3); QString xml; QTextStream str(&xml, QIODevice::WriteOnly); m.toXml(str); @@ -275,7 +275,7 @@ } QCOMPARE(xml, expected); } - + }; #endif