summaryrefslogtreecommitdiff
path: root/test.c
blob: 824c388782ec5ad7f23be856c76a1885adf9e466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "core.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main() {
  char *result, *expected;
  int isSame;
  result = stateToString(SEARCHING);
  expected = "SEARCHING";
  isSame = strcmp(expected, result) == 0;
  assert(isSame);
}