Skip to content

Commit 7958994

Browse files
committed
Update tests
1 parent d896e08 commit 7958994

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/shared_test/lib_irradproc_test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ TEST_F(NightCaseIrradProc, incidenceTest_lib_irradproc) {
380380
/* Just before sunrise test case */
381381
sun_azm = 0.95662;
382382
sun_zen = 1.79457;
383-
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, 0.0, 0.0, angle);
383+
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, false, 0.0, false, 0.0, 0.0, angle);
384384
solutions = { 1.89243, 0.174533, 3.14159, 0, 0 };
385385
for (int i = 0; i < 5; i++) {
386386
EXPECT_NEAR(angle[i], solutions[i], e) << "before-sunrise case";
@@ -396,7 +396,7 @@ TEST_F(SunriseCaseIrradProc, incidenceTest_lib_irradproc) {
396396

397397
sun_azm = 1.11047;
398398
sun_zen = 1.6031;
399-
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, 0.0, 0.0, angle);
399+
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, false, 0.0, false, 0.0, 0.0, angle);
400400
solution = 1.67992;
401401
EXPECT_NEAR(angle[0], solution, e) << "sunrise case";
402402
}
@@ -410,7 +410,7 @@ TEST_F(DayCaseIrradProc, incidenceTest_lib_irradproc) {
410410

411411
sun_azm = 0;
412412
sun_zen = 0;
413-
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, 0.0, 0.0, angle);
413+
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, false, 0.0, false, 0.0, 0.0, angle);
414414
solution = 0.174533;
415415
EXPECT_NEAR(angle[0], solution, e) << "noon case";
416416
}
@@ -424,7 +424,7 @@ TEST_F(SunsetCaseIrradProc, incidenceTest_lib_irradproc) {
424424

425425
sun_azm = 5.13947;
426426
sun_zen = 1.55886;
427-
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, 0.0, 0.0, angle);
427+
incidence(mode, tilt, azim, rotlim, azmlim, azmref, sun_zen, sun_azm, backtrack_on, gcr, 0, 0, false, 0.0, false, 0.0, false, 0.0, 0.0, angle);
428428
solution = 1.631;
429429
EXPECT_NEAR(angle[0], solution, e) << "sunset case";
430430
}

0 commit comments

Comments
 (0)