Add includes of cassert

This commit is contained in:
2023-11-30 20:29:35 +00:00
parent f421aee783
commit be27621663
41 changed files with 140 additions and 77 deletions

View File

@@ -1,10 +1,12 @@
#include <cassert>
#include <iostream>
#include <string>
#include <vector>
struct State
{
explicit State(std::string const& rules) : rules_(rules)
explicit State(std::string const& rules)
: rules_(rules)
{
assert(rules.size() == 512);
assert(rules[0] == '.' || rules[511] == '.');