File tree 2 files changed +8
-3
lines changed
Tests/dataProviders/meteo-hdf5
src/dataProviders/meteo-hdf5
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,9 @@ void ReosMeteoHdf5Test::rainOnWatershed()
145
145
QCOMPARE ( values.at ( 1 ), 0.1244901610017982 );
146
146
QCOMPARE ( values.at ( 2 ), 0.116361515127953 );
147
147
148
+ ReosDuration timeStep = gridOnWs->timeStep ();
149
+ QVERIFY ( timeStep == ReosDuration ( 5.0 , ReosDuration::minute ) );
150
+
148
151
149
152
watershed_poly.clear ();
150
153
watershed_poly << QPointF ( 3.37651104703155402 , 43.78221043303267379 )
@@ -165,6 +168,8 @@ void ReosMeteoHdf5Test::rainOnWatershed()
165
168
QCOMPARE ( values.at ( 0 ), 0.03978165938864616 );
166
169
QCOMPARE ( values.at ( 1 ), 0.02716157205240172 );
167
170
QCOMPARE ( values.at ( 2 ), 0.01061135371179039 );
171
+ timeStep = gridOnWs->timeStep ();
172
+ QVERIFY ( timeStep == ReosDuration ( 5.0 , ReosDuration::minute ) );
168
173
}
169
174
170
175
Original file line number Diff line number Diff line change 1
1
/* **************************************************************************
2
- reosgribprovider .cpp - ReosGribProvider
2
+ reosmeteohdf5 .cpp - ReosMeteoHdf5Provider
3
3
4
4
---------------------
5
- begin : 11.11.2022
6
- copyright : (C) 2022 by Vincent Cloarec
5
+ begin : 14.03.2025
6
+ copyright : (C) 2025 by Vincent Cloarec
7
7
email : vcloarec at gmail dot com
8
8
***************************************************************************
9
9
* *
You can’t perform that action at this time.
0 commit comments