File: phcpy-test.py

package info (click to toggle)
phcpack 2.4.86%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 129,808 kB
  • sloc: ada: 924,840; cpp: 147,658; ansic: 59,431; python: 30,962; makefile: 3,577; lisp: 444; javascript: 352
file content (22 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3

import phcpy

# phcpy.examples.test()
# this doesn't completely work, so we include the parts that do:
phcpy.phcpy2c3.py2c_set_seed(834798280)
phcpy.examples.solve_binomials()
phcpy.examples.solve_cyclic7()
phcpy.examples.solve_sysd1()
phcpy.examples.solve_fbrfive4()
phcpy.examples.solve_game4two()
phcpy.examples.solve_katsura6()
phcpy.examples.solve_noon3()
phcpy.examples.solve_rps10()
phcpy.examples.solve_stewgou40()
phcpy.examples.solve_tangents()
# https://github.com/janverschelde/PHCpack/issues/44
# phcpy.examples.solve_sevenbar()

phcpy.solver.test()
phcpy.solutions.test_class()