Browse Source

jenkins tests

master
Markus Bergholz 7 years ago
parent
commit
51f225e73d
  1. 6
      testscript.m

6
testscript.m

@ -1,8 +1,8 @@
%% block 1
clear
assert(4 == 4, 'short test description');
assert(4 == 4, 'short test description',' default error out', 'default output');
assert(sum(1:10) == 55, 'summenprüfung');
assert(randi([0 2]) == 1, 'could fail', 'zweifelhafte implementation');
assert(randi([0 2]) == 1, 'could fail', 'zweifelhafte implementation', 'default output');
pause(3)
assert(0 == 1);
@ -10,7 +10,7 @@ assert(0 == 1);
clear
assert( 1 == 1, 'short description of test')
pause(2)
assert( 1 == 0, 'short description of test', 'optionale error message when it failed')
assert( 1 == 0, 'short description of test', 'optionale error message when it failed', 'optional default output')
%clear all
try
some wired stuff

Loading…
Cancel
Save