diff options
| author | J08nY | 2024-06-03 09:39:40 +0200 |
|---|---|---|
| committer | J08nY | 2024-06-03 09:39:40 +0200 |
| commit | 11a10eeca43e2c4117b6c3cb2db2393b8b914e44 (patch) | |
| tree | 6ef17fbba90a4d49d7a73cbdf038233a2a42bd0b | |
| parent | a95c6862623a9186677ec8a6914bb080594cfd85 (diff) | |
| download | pyecsca-11a10eeca43e2c4117b6c3cb2db2393b8b914e44.tar.gz pyecsca-11a10eeca43e2c4117b6c3cb2db2393b8b914e44.tar.zst pyecsca-11a10eeca43e2c4117b6c3cb2db2393b8b914e44.zip | |
Fix coords doctest.
| -rw-r--r-- | pyecsca/ec/coordinates.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pyecsca/ec/coordinates.py b/pyecsca/ec/coordinates.py index 8ce3955..9dcdbbe 100644 --- a/pyecsca/ec/coordinates.py +++ b/pyecsca/ec/coordinates.py @@ -33,12 +33,12 @@ class CoordinateModel: ['X', 'Y', 'Z'] >>> coordinate_model.curve_model ShortWeierstrassModel() - >>> coordinate_model.formulas # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE - {'mdbl-2007-bl': DoublingEFDFormula(mdbl-2007-bl for shortw/projective), - 'dbl-2007-bl': DoublingEFDFormula(dbl-2007-bl for shortw/projective), - ... - 'add-2007-bl': AdditionEFDFormula(add-2007-bl for shortw/projective), - ... + >>> sorted(coordinate_model.formulas.items()) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE + [('add-1998-cmo', AdditionEFDFormula(add-1998-cmo for shortw/projective)), + ('add-1998-cmo-2', AdditionEFDFormula(add-1998-cmo-2 for shortw/projective)), + ... + ('dbl-2007-bl', DoublingEFDFormula(dbl-2007-bl for shortw/projective)), + ...] """ name: str |
