| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
test_lml.c - description |
/* |
| 3 |
------------------- |
* test_lml |
| 4 |
Copyright : (C) 2004-2025 by Leaflet |
* - tester for LML render |
| 5 |
Email : leaflet@leafok.com |
* |
| 6 |
***************************************************************************/ |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
| 7 |
|
*/ |
| 8 |
|
|
| 9 |
/*************************************************************************** |
#ifdef HAVE_CONFIG_H |
| 10 |
* * |
#include "config.h" |
| 11 |
* This program is free software; you can redistribute it and/or modify * |
#endif |
|
* it under the terms of the GNU General Public License as published by * |
|
|
* the Free Software Foundation; either version 3 of the License, or * |
|
|
* (at your option) any later version. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 12 |
|
|
| 13 |
#include "lml.h" |
#include "lml.h" |
| 14 |
#include "log.h" |
#include "log.h" |
| 18 |
#include <time.h> |
#include <time.h> |
| 19 |
#include <unistd.h> |
#include <unistd.h> |
| 20 |
|
|
| 21 |
#define STR_OUT_BUF_SIZE 256 |
enum _test_lml_constant_t |
| 22 |
|
{ |
| 23 |
|
STR_OUT_BUF_SIZE = 256, |
| 24 |
|
}; |
| 25 |
|
|
| 26 |
const char *str_in[] = { |
const char *str_in[] = { |
| 27 |
"[left]ABCD[right]EFG", |
"[left]ABCD[right]EFG", |