Skip to content
Permalink
Browse files

indentation fix

  • Loading branch information
jef-n committed May 16, 2016
1 parent 858914e commit c198b1afe911a1f7c061f0d69345945eca1c87cf
Showing with 5 additions and 5 deletions.
  1. +1 −1 src/core/qgstracer.cpp
  2. +4 −4 tests/src/python/test_qgsdatetimestatisticalsummary.py
@@ -87,7 +87,7 @@ double closestSegment( const QgsPolyline& pl, const QgsPoint& pt, int& vertexAft
/** Simple graph structure for shortest path search */
struct QgsTracerGraph
{
QgsTracerGraph() : joinedVertices(0) {}
QgsTracerGraph() : joinedVertices( 0 ) {}

struct E // bidirectional edge
{
@@ -120,10 +120,10 @@ def testDates(self):
self.assertEqual(s.count(), 7)
self.assertEqual(set(s.distinctValues()), set([
QDateTime(QDate(2015, 3, 4), QTime()),
QDateTime(QDate(2019, 12, 28), QTime()),
QDateTime(QDate(1998, 1, 2), QTime()),
QDateTime(),
QDateTime(QDate(2011, 1, 5), QTime())]))
QDateTime(QDate(2019, 12, 28), QTime()),
QDateTime(QDate(1998, 1, 2), QTime()),
QDateTime(),
QDateTime(QDate(2011, 1, 5), QTime())]))
self.assertEqual(s.countMissing(), 2)
self.assertEqual(s.min(), QDateTime(QDate(1998, 1, 2), QTime()))
self.assertEqual(s.max(), QDateTime(QDate(2019, 12, 28), QTime()))

0 comments on commit c198b1a

Please sign in to comment.
You can’t perform that action at this time.