fn test_group_properties()

in src/group/tests.rs [16:31]


fn test_group_properties() -> Result<()> {
    use p256::NistP256;

    #[cfg(feature = "ristretto255")]
    {
        use crate::Ristretto255;

        test_identity_element_error::<Ristretto255>()?;
        test_zero_scalar_error::<Ristretto255>()?;
    }

    test_identity_element_error::<NistP256>()?;
    test_zero_scalar_error::<NistP256>()?;

    Ok(())
}