Skip to content

Commit

Permalink
rm some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dakka committed May 19, 2024
1 parent 646bd63 commit eddcdb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/statictest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
//-----------------------------------------------------------------------------------------
enum class component : int { scheme, authority, userinfo, user, password, host, port, path, query, fragment };

/*
namespace TEST
{
enum class NineEnums : int { One, Two, Three, Four, Five, Six, Seven, Eight, Nine };
Expand Down Expand Up @@ -70,6 +71,7 @@ namespace gsdsp::utilities
return FIX8::conjure_enum<E>::count();
}
}
*/

//-----------------------------------------------------------------------------------------
using namespace FIX8;
Expand All @@ -86,10 +88,12 @@ int main(void)
for(const auto& a : conjure_enum<component>::unscoped_names)
std::cout << a << '\n';

/*
for(const auto& [a, b] : conjure_enum<TEST::TEST1::TEST2::TEST3::TEST4::TEST5::NineEnums>::entries)
std::cout << conjure_enum<TEST::TEST1::TEST2::TEST3::TEST4::TEST5::NineEnums>::enum_to_int(a) << ' ' << b << '\n';
std::cout << conjure_enum<TEST::TEST1::TEST2::TEST3::TEST4::TEST5::NineEnums>::count() << '\n';
std::cout << gsdsp::utilities::countOf<gsdsp::dsp::fd::AnalysisFrame::PrecomputedFrames>() << '\n';
*/
return 0;
}

0 comments on commit eddcdb3

Please sign in to comment.