#![cfg(all(feature = "arithmetic", feature = "test-vectors"))]
use bignp256::{
AffinePoint, ProjectivePoint, Scalar,
test_vectors::group::{ADD_TEST_VECTORS, MUL_TEST_VECTORS},
};
use elliptic_curve::{
group::{GroupEncoding, ff::PrimeField},
sec1::{self, ToSec1Point},
};
use primeorder::{Double, test_projective_arithmetic};
test_projective_arithmetic!(
AffinePoint,
ProjectivePoint,
Scalar,
ADD_TEST_VECTORS,
MUL_TEST_VECTORS
);
#[test]
fn projective_identity_to_bytes() {
assert_eq!([0; 33], ProjectivePoint::IDENTITY.to_bytes().as_slice());
}