Skip to content

Commit

Permalink
test: add missing aztec-address tests (#5674)
Browse files Browse the repository at this point in the history
Doable now that noir-lang/noir#4635 is closed.
  • Loading branch information
nventuro authored Apr 10, 2024
1 parent 350abeb commit 58aefba
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 58aefba

Please sign in to comment.