/* SPDX-License-Identifier: Apache-2.0 */ /** * @file testbench.c * * @brief Testbench for yaml loader library * * @copyright Copyright (C) 2024 Jackrabbit Founders LLC. All rights reserved. * * @date Feb 2024 * @author Barrett Edwards * */ /* INCLUDES ==================================================================*/ #include #include #include #include "yamlloader.h" /* MACROS ====================================================================*/ /* ENUMERATIONS ==============================================================*/ /* STRUCTS ===================================================================*/ /* GLOBAL VARIABLES ==========================================================*/ /* PROTOTYPES ================================================================*/ int main(int argc, char *argv[]) { GHashTable *ht; if (argc < 2 ) { printf("Usage: testbench \n"); exit(0); } ht = yl_load(argv[1]); yl_print(ht); yl_free(ht); return 0; }