[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test functions and loops
From: |
David Bateman |
Subject: |
Re: test functions and loops |
Date: |
Fri, 31 Aug 2007 22:28:36 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060921) |
address@hidden wrote:
> Hi all
>
> I'm trying to write a test function.
> Inside this function I have to use loops ... or I think I have to
> use loops
>
> but I got problems with this.
> the following is only an example:
>
> %! for i = 1:3
> %!assert(1,1) # this must be a successfull test !!!
Try adding a space between the "%!" and the "assert". Without the space
its treated differently.
D