Skip to content

Commit

Permalink
fix namespaces in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarreiro committed Dec 9, 2024
1 parent de7395f commit 57a4a59
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace tests_avm {
using namespace bb;
using namespace bb::Avm_vm;
using namespace bb::avm;

TEST(AvmFullPoseidon2, shouldHashCorrectly)
{
Expand Down Expand Up @@ -58,7 +58,7 @@ TEST(AvmFullPoseidon2, shouldHashCorrectly)
std::cerr << "Done computing polynomials..." << std::endl;

std::cerr << "Accumulating relations..." << std::endl;
using Relation = Avm_vm::poseidon2_full<FF>;
using Relation = avm::poseidon2_full<FF>;

typename Relation::SumcheckArrayOfValuesOverSubrelations result;
for (auto& r : result) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace tests_avm {

using namespace bb;
using namespace bb::Avm_vm;
using namespace bb::avm;

TEST(AvmSkippableTests, shouldSkipCorrectly)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace tests_avm {
using namespace bb;
using namespace bb::Avm_vm;
using namespace bb::avm;

TEST(AvmMerkleTree, shouldCheckMembership)
{
Expand Down Expand Up @@ -76,7 +76,7 @@ TEST(AvmMerkleTree, shouldCheckMembership)
std::cerr << "Done computing polynomials..." << std::endl;

std::cerr << "Accumulating relations..." << std::endl;
using AllRelations = std::tuple<Avm_vm::merkle_tree<FF>, Avm_vm::poseidon2_full<FF>, Avm_vm::poseidon2<FF>>;
using AllRelations = std::tuple<avm::merkle_tree<FF>, avm::poseidon2_full<FF>, avm::poseidon2<FF>>;

bb::constexpr_for<0, std::tuple_size_v<AllRelations>, 1>([&]<size_t i>() {
using Relation = std::tuple_element_t<i, AllRelations>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace tests_avm {

using namespace bb;
using namespace bb::Avm_vm;
using namespace bb::avm;

TEST(AvmRangeCheck, shouldRangeCheck)
{
Expand Down Expand Up @@ -74,7 +74,7 @@ TEST(AvmRangeCheck, shouldRangeCheck)
std::cerr << "Done computing polynomials..." << std::endl;

std::cerr << "Accumulating relations..." << std::endl;
using Relation = Avm_vm::range_check<FF>;
using Relation = avm::range_check<FF>;

typename Relation::SumcheckArrayOfValuesOverSubrelations result;
for (auto& r : result) {
Expand Down

0 comments on commit 57a4a59

Please sign in to comment.