diff options
Diffstat (limited to 'test/primitives.ml')
| -rw-r--r-- | test/primitives.ml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/primitives.ml b/test/primitives.ml index 66d25b9..f2cd043 100644 --- a/test/primitives.ml +++ b/test/primitives.ml @@ -1,6 +1,6 @@ -open Plonkers.Curves -open Plonkers.Fields -open Plonkers.Pairing +open Plonkers.Bls12_381.Fields +open Plonkers.Bls12_381.Curves +open Plonkers.Bls12_381.Pairing module Literals = struct let fp = Fp.of_string @@ -8,9 +8,6 @@ module Literals = struct let fp12 c = Fp12.of_coeffs @@ Array.map fp c let e (x, y) = E.Unsafe.of_coords_unchecked (fp x, fp y) let e2 (x, y) = E2.Unsafe.of_coords_unchecked (fp2 x, fp2 y) - let e12 (x, y) = E12.Unsafe.of_coords_unchecked (fp12 x, fp12 y) - let g1 = e - let g2 = e2 let gt c = Gt.Unsafe.of_f_unchecked @@ fp12 c end @@ -20,8 +17,5 @@ module Testables = struct let fp12 = Testable.make Fp12.to_string Fp12.equal let e = Testable.make E.to_string E.equal let e2 = Testable.make E2.to_string E2.equal - let e12 = Testable.make E12.to_string E12.equal - let g1 = e - let g2 = e2 let gt = Testable.make Gt.to_string Gt.equal end |
