dynare/tests/fataltest.m

4 lines
108 B
Matlab
Raw Normal View History

2012-06-08 19:10:19 +02:00
function test(a,b,n)
if max(max(abs(a)-abs(b))) > 1e-5
error(['Test error in test ' int2str(n)])
end