2013-12-28 15:09:52 -08:00
|
|
|
#include "spec_helper.h"
|
2014-01-08 18:35:16 -08:00
|
|
|
#include "document.h"
|
|
|
|
|
|
|
|
|
|
extern TSParseConfig ts_parse_config_arithmetic;
|
2013-12-17 13:14:41 -08:00
|
|
|
|
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();
|
2014-01-08 18:35:16 -08:00
|
|
|
TSDocumentSetUp(document, ts_parse_config_arithmetic);
|
|
|
|
|
TSDocumentSetText(document, "w");
|
2014-01-07 21:50:32 -08:00
|
|
|
printf("%s", TSDocumentToString(document));
|
2013-12-28 15:09:52 -08:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
END_TEST
|