Mercurial > hg > svcore
comparison data/model/test/TestZoomConstraints.h @ 1555:616d3e8a250b
Win32 fix
author | Chris Cannam |
---|---|
date | Fri, 12 Oct 2018 11:00:14 +0100 |
parents | 05c3fbaec8ea |
children |
comparison
equal
deleted
inserted
replaced
1554:04a198887a3d | 1555:616d3e8a250b |
---|---|
50 zexp.zone = ZoomLevel::FramesPerPixel; | 50 zexp.zone = ZoomLevel::FramesPerPixel; |
51 } | 51 } |
52 if (zobt == zexp) { | 52 if (zobt == zexp) { |
53 return; | 53 return; |
54 } else { | 54 } else { |
55 cerr << "For input " << zin << " and rounding direction " | 55 std::cerr << "For input " << zin << " and rounding direction " |
56 << roundingName(dir) | 56 << roundingName(dir) |
57 << ", expected output " << zexp << " but obtained " << zobt | 57 << ", expected output " << zexp << " but obtained " |
58 << endl; | 58 << zobt << std::endl; |
59 QCOMPARE(zobt, zexp); | 59 QCOMPARE(zobt, zexp); |
60 } | 60 } |
61 } | 61 } |
62 | 62 |
63 void checkFpp(const ZoomConstraint &c, | 63 void checkFpp(const ZoomConstraint &c, |