From 58aefbad0144b41619fa36a3714fa2a440945c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Wed, 10 Apr 2024 15:26:18 -0300 Subject: [PATCH] test: add missing aztec-address tests (#5674) Doable now that https://github.com/noir-lang/noir/issues/4635 is closed. --- .../crates/types/src/address/aztec_address.nr | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr b/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr index 605b291b108..86a1fb4549d 100644 --- a/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr +++ b/noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr @@ -131,13 +131,11 @@ fn compute_address_from_partial_and_pubkey() { #[test] fn from_field_to_field() { let address = AztecAddress { inner: 37 }; - // TODO: uncomment this test once https://github.com/noir-lang/noir/issues/4635 is fixed - // assert_eq(FromField::from_field(address.to_field()), address); + assert_eq(FromField::from_field(address.to_field()), address); } #[test] fn serde() { let address = AztecAddress { inner: 37 }; - // TODO: uncomment this test once https://github.com/noir-lang/noir/issues/4635 is fixed - // assert_eq(Deserialize::deserialize(address.serialize()), address); + assert_eq(Deserialize::deserialize(address.serialize()), address); }