File: testing.h

package info (click to toggle)
libm4ri 20200125-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,560 kB
  • sloc: ansic: 12,633; sh: 4,304; makefile: 137
file content (15 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TESTING_H
#define TESTING_H

#include <m4ri/misc.h>
#include <m4ri/mzd.h>

#ifdef _MSC_VER
#define srandom srand
#endif

mzd_t *mzd_init_test_matrix_random(rci_t M, rci_t N, rci_t m, rci_t n, word pattern, mzd_t **A);
void mzd_free_test_matrix_random(mzd_t *A, mzd_t *a);
int mzd_check_pattern(mzd_t *A, rci_t m, rci_t n, word pattern);

#endif //TESTING_H