First milestone towards flags rewrite --- it builds and the tests pass, but

nothing actually works.
This commit is contained in:
David Given
2019-07-02 23:06:40 +02:00
parent bba2f856a5
commit a1c207cb8f
32 changed files with 247 additions and 79 deletions

View File

@@ -1,8 +1,11 @@
#include "globals.h"
#include "flags.h"
#include "fluxmap.h"
#include "fluxmapreader.h"
#include <sstream>
FlagGroup flags { &fluxmapReaderFlags };
typedef std::vector<unsigned> ivector;
namespace std {
@@ -124,6 +127,8 @@ void test_patternmatchingwithtrailingzeros()
int main(int argc, const char* argv[])
{
flags.parseFlags(0, NULL);
test_patternconstruction();
test_patternmatchingwithouttrailingzeros();
test_patternmatchingwithtrailingzeros();