File: test_precision.py

package info (click to toggle)
fpylll 0.2.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 648 kB
  • ctags: 527
  • sloc: python: 818; makefile: 18
file content (9 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-

from fpylll import get_precision, set_precision


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