19 lines
698 B
Plaintext
19 lines
698 B
Plaintext
|
|
#################################################################
|
||
|
|
# Testszenario for testing the new operator update_sectionDuration
|
||
|
|
#################################################################
|
||
|
|
|
||
|
|
open database berlinmod;
|
||
|
|
|
||
|
|
delete durations;
|
||
|
|
restore durations from 'durations.data';
|
||
|
|
query durations feed project[Sid,Duration] consume;
|
||
|
|
|
||
|
|
##TEST 1########################################################
|
||
|
|
query update_sectionduration(B_NETWORK,1,6.0);
|
||
|
|
##TEST 2########################################################
|
||
|
|
query update_sectionduration(B_NETWORK,8000,6.0);
|
||
|
|
##TEST 3########################################################
|
||
|
|
query update_sectionduration(B_NETWORK,durations);
|
||
|
|
|
||
|
|
close database;
|