mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-16 19:45:46 +01:00
21 lines
962 B
C
21 lines
962 B
C
/* Copyright (c) 2025 Quinn.
|
|
* This is a file from the project MCA-Selector-Lite and is
|
|
* licensed under the MIT Licence. See included LICENSE file for details. */
|
|
#pragma once
|
|
|
|
#include "../src/types.h"
|
|
#include "../src/util/conf.h"
|
|
|
|
void test_conf_procbuf(const char *restrict buf, const char *restrict expect_key, const char *restrict expect_val, int expect_return);
|
|
void test_conf_matchopt(struct conf_entry *restrict opts, usize optc, const char *restrict key, int expect_index);
|
|
void test_conf_procval_int(const char *val, u64 expect_value, int type);
|
|
void test_conf_procval_f32(const char *val, f32 expect_value);
|
|
void test_conf_procval_fstr(const char *val, u64 expect_value, int type);
|
|
void test_conf_procval_str(const char *val, u64 expect_value, int type);
|
|
void test_procval_str(void);
|
|
void test_procval_str_predef(void);
|
|
void test_procval_fstr(void);
|
|
void test_procval_fstr_trunc(void);
|
|
void test_procval_eparse(void);
|
|
void test_conf_getpat(void);
|