2013-12-28 15:09:52 -08:00
|
|
|
#include "spec_helper.h"
|
2013-12-17 13:14:41 -08:00
|
|
|
#include "../fixtures/parsers/arithmetic.c"
|
|
|
|
|
|
2013-12-28 15:09:52 -08:00
|
|
|
START_TEST
|
2013-12-17 13:14:41 -08:00
|
|
|
|
2013-12-28 15:09:52 -08:00
|
|
|
describe("arithmetic", []() {
|
|
|
|
|
it("parses_numbers", [&]() {
|
2014-01-07 21:50:32 -08:00
|
|
|
TSDocument *document = TSDocumentMake();
|
|
|
|
|
TSDocumentSetUp_arithmetic(document);
|
|
|
|
|
TSDocumentSetText(document, "5");
|
|
|
|
|
printf("%s", TSDocumentToString(document));
|
2013-12-28 15:09:52 -08:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
END_TEST
|