File: test_precision.py

package info (click to toggle)
fpylll 0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,068 kB
  • sloc: python: 2,193; makefile: 172; sh: 89; ansic: 79; cpp: 48
file content (10 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
# -*- coding: utf-8 -*-

from fpylll import FPLLL


def test_precision():
    FPLLL.set_precision(53)
    assert FPLLL.get_precision() == 53
    assert FPLLL.set_precision(100) == 53
    assert FPLLL.set_precision(100) == 100