stuff-from-scratch/plugins/circuits/src/TruthTable.cpp
2023-01-23 11:55:58 +00:00

11 lines
233 B
C++

#include "TruthTable.h"
const TruthTable::TableData TruthTable::AND_TRUTH_TABLE = { {{0, 0}, {0}} };
TruthTable TruthTable::getAndTruthTable()
{
TruthTable table(2, 1);
table.setTable(AND_TRUTH_TABLE);
return table;
}