File: test.m

package info (click to toggle)
dynare 4.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 40,640 kB
  • sloc: fortran: 82,231; cpp: 72,734; ansic: 28,874; pascal: 13,241; sh: 4,300; objc: 3,281; yacc: 2,833; makefile: 1,288; lex: 1,162; python: 162; lisp: 54; xml: 8
file content (4 lines) | stat: -rw-r--r-- 108 bytes parent folder | download | duplicates (4)
1
2
3
4
function test(a,b,n)
  if max(max(abs(a)-abs(b))) > 1e-5
    error(['Test error in test ' int2str(n)])
  end