source: git/Tst/Manual/isIntegralSurjective.tst @ 894057

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 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3intmat A[2][3] =
41,3,5,
52,4,6;
6// should be 0
7int b = isIntegralSurjective(A);
8print(b);
9// another example
10intmat B[2][3] =
111,1,5,
122,3,6;
13// should be 1
14int c = isIntegralSurjective(B);
15print(c);
16kill A, b, B, c;
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.