diff --git a/yacl/crypto/ecc/FourQlib/FourQ_test.cc b/yacl/crypto/ecc/FourQlib/FourQ_test.cc index 33195fc4..80617a0f 100644 --- a/yacl/crypto/ecc/FourQlib/FourQ_test.cc +++ b/yacl/crypto/ecc/FourQlib/FourQ_test.cc @@ -44,7 +44,7 @@ class FourQTest : public ::testing::Test { EcGroupFactory::Instance().Create("FourQ", ArgLib = "FourQlib"); }; -TEST_F(FourQTest, DISABLED_CopyPointWorks) { +TEST_F(FourQTest, CopyPointWorks) { // Convert function f2elm_t f; MPIntToF2elm(123456789_mp, f); @@ -67,7 +67,7 @@ TEST_F(FourQTest, DISABLED_CopyPointWorks) { EXPECT_TRUE(ec_->PointEqual(ecp1, ec_->CopyPoint(ap))); } -TEST_F(FourQTest, DISABLED_AffinePointWorks) { +TEST_F(FourQTest, AffinePointWorks) { ASSERT_EQ(ec_->GetLibraryName(), "FourQlib"); AffinePoint ap_g{ @@ -88,7 +88,7 @@ TEST_F(FourQTest, DISABLED_AffinePointWorks) { EXPECT_TRUE(ec_->PointEqual(ec_->CopyPoint(any_ap), any_p)); } -TEST_F(FourQTest, DISABLED_InfWorks) { +TEST_F(FourQTest, InfWorks) { auto g = ec_->GetGenerator(); EXPECT_TRUE(ec_->IsInCurveGroup(g)); @@ -109,7 +109,7 @@ TEST_F(FourQTest, DISABLED_InfWorks) { EXPECT_TRUE(ec_->PointEqual(inf, inf2)); } -TEST_F(FourQTest, DISABLED_NegateWorks) { +TEST_F(FourQTest, NegateWorks) { // simple works auto g = ec_->MulBase(1_mp); EXPECT_TRUE(ec_->PointEqual(g, ec_->GetGenerator())); @@ -130,4 +130,4 @@ TEST_F(FourQTest, DISABLED_NegateWorks) { ec_->Negate(ec_->MulBase(1000_mp)))); } -} // namespace yacl::crypto::FourQ::test \ No newline at end of file +} // namespace yacl::crypto::FourQ::test