Esempio n. 1
0
 def test_tspanchecker_fail_3(self):
     #Start time larger than end time
     tspan = '[6000, 600, 61]'
     onlinegen.tspanchecker(tspan)
Esempio n. 2
0
 def test_tspanchecker_fail_1(self):
     #Missing '[' at start of tspan
     tspan = '0, 600, 61]'
     onlinegen.tspanchecker(tspan)
Esempio n. 3
0
 def test_tspanchecker_fail_2(self):
     #Missing ']' at end of tspan
     tspan = '0, 600, 61]'
     onlinegen.tspanchecker(tspan)
Esempio n. 4
0
 def test_tspanchecker(self):
     #Check if tspan has been declared correctly
     #Checker is at the start of sbmltoconfig function
     tspan = '[0, 600, 61]'
     onlinegen.tspanchecker(tspan)