fieker-DuValspielwiese
Last change
on this file since 894057 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
281 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "multigrading.lib"; |
---|
3 | intmat A[2][3] = |
---|
4 | 1,3,5, |
---|
5 | 2,4,6; |
---|
6 | // should be 0 |
---|
7 | int b = isIntegralSurjective(A); |
---|
8 | print(b); |
---|
9 | // another example |
---|
10 | intmat B[2][3] = |
---|
11 | 1,1,5, |
---|
12 | 2,3,6; |
---|
13 | // should be 1 |
---|
14 | int c = isIntegralSurjective(B); |
---|
15 | print(c); |
---|
16 | kill A, b, B, c; |
---|
17 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.