aboutsummaryrefslogtreecommitdiff
path: root/test/ec/test_model.py
blob: d5c5afeade028c1f69f90bd5f2cacf5eb5280914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from pyecsca.ec.model import (
    ShortWeierstrassModel,
    MontgomeryModel,
    EdwardsModel,
    TwistedEdwardsModel,
)


def test_load():
    assert len(ShortWeierstrassModel().coordinates) > 0
    assert len(MontgomeryModel().coordinates) > 0
    assert len(EdwardsModel().coordinates) > 0
    assert len(TwistedEdwardsModel().coordinates) > 0