[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions about testing
From: |
Robert T. Short |
Subject: |
Questions about testing |
Date: |
Mon, 15 Jun 2009 10:55:05 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 |
Bob has some questions. This is regarding the tests in the tests
directory. Mostly I think it is pretty straightforward, but just to
make sure I understand.
Most but not all of the files in the test directory have a series of
entries of the form
%% test/octave.test/transpose/transpose-1.m
%!test
%! scalar = 2;
%! assert(scalar',2);
Question 1.
What does the first line
%% test/octave.test/transpose/transpose-1.m
do? I don't find a file anywhere called transpose-1.m
Question 2.
Does the %! have some special significance, or does it just indicate
that the embedded code is to be executed as part of the test?
Question 3.
What does the
%!test
line do?
Bob
--
Robert T. Short
PhaseLocked Systems
- Questions about testing,
Robert T. Short <=