1LoadPackage( "MatricesForHomalg" );
2
3ZZ := HomalgRingOfIntegers( );
4
5m := HomalgMatrix( "[ \
62,  0, 0, \
70, 12, 0  \
8]", 2, 3, ZZ );
9
10Assert( 0, Minors( -1, m ) = [ 1 ] );
11Assert( 0, Minors( 0, m ) = [ 1 ] );
12Assert( 0, Minors( 1, m ) = [ 2, 12 ] );
13Assert( 0, Minors( 2, m ) = [ 24 ] );
14Assert( 0, Minors( 3, m ) = [ 0 ] );
15Assert( 0, Minors( 4, m ) = [ 0 ] );
16