#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Automaton.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
usingnamespacellvm;
ContainerEq;
UnorderedElementsAre;
#define GET_SymKind_DECL
#define GET_BinRequirementKindEnum_DECL
#include "AutomataTables.inc"
#define GET_SimpleAutomaton_DECL
#define GET_TupleAutomaton_DECL
#define GET_NfaAutomaton_DECL
#define GET_BinPackerAutomaton_DECL
#include "AutomataAutomata.inc"
TEST(Automata, SimpleAutomatonAcceptsFromInitialState) { … }
TEST(Automata, SimpleAutomatonAcceptsSequences) { … }
TEST(Automata, TupleAutomatonAccepts) { … }
TEST(Automata, NfaAutomatonAccepts) { … }
TEST(Automata, BinPackerAutomatonAccepts) { … }
#define BINS(a, b, c, d, e, f) …
TEST(Automata, BinPackerAutomatonExplains) { … }