| /* liblouis Braille Translation and Back-Translation Library |
| Copyright (C) 2012 James Teh <jamie@nvaccess.org> |
| Copying and distribution of this file, with or without modification, |
| are permitted in any medium without royalty provided the copyright |
| notice and this notice are preserved. This file is offered as-is, |
| main(int argc, char **argv) |
| const char* goodTable = "tables/en-us-g1.ctb"; |
| const char* badTable = "tests/tables/bad.ctb"; |
| const void* table = NULL; |
| table = lou_getTable(goodTable); |
| printf("Getting %s failed, expected success\n", goodTable); |
| table = lou_getTable(badTable); |
| printf("Getting %s succeeded, expected failure\n", badTable); |
| table = lou_getTable(goodTable); |
| printf("Getting %s failed, expected success\n", goodTable); |