File: test_include.mw

package info (click to toggle)
mwrap 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,480 kB
  • sloc: cpp: 3,315; python: 1,850; ansic: 856; makefile: 255; lex: 233; sh: 145
file content (9 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
function test_include()

@include test_include2.mw
tassert(j == 4, 'Include test');

% ================================================================
function tassert(pred, msg)

if ~pred, fprintf('Failure: %s\n', msg); end