infix
A JIT-Powered FFI Library for C
|
Hardened test suite for the high-level signature API. More...
Macros | |
#define | DBLTAP_IMPLEMENTATION |
Functions | |
static void | test_type_ok (const char *signature, infix_type_category expected_cat, const char *name) |
Helper subtest to verify that a single type signature string parses correctly. | |
static void | test_type_fail (const char *signature, const char *name) |
Helper subtest to verify that an invalid signature string fails to parse. | |
void | dummy_handler () |
static void | normalize_string (char *s) |
static void | test_print_roundtrip (const char *signature) |
subtest ("Valid Single Types") | |
subtest ("Valid Edge Cases (Whitespace, Nesting, Empty)") | |
subtest ("Valid Full Function Signatures") | |
subtest ("Invalid Syntax and Logic") | |
subtest ("Registry Type Introspection") | |
subtest ("Round trip") | |
Variables | |
TEST | |
Hardened test suite for the high-level signature API.
Copyright (c) 2025 Sanko Robinson
This source code is dual-licensed under the Artistic License 2.0 or the MIT License. You may choose to use this code under the terms of either license.
SPDX-License-Identifier: (Artistic-2.0 OR MIT)
The documentation blocks within this file are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
SPDX-License-Identifier: CC-BY-4.0
#define DBLTAP_IMPLEMENTATION |
void dummy_handler | ( | ) |
|
static |
subtest | ( | "Invalid Syntax and Logic" | ) |
subtest | ( | "Registry Type Introspection" | ) |
subtest | ( | "Round trip" | ) |
subtest | ( | "Valid Edge Cases (Whitespace, Nesting, Empty)" | ) |
subtest | ( | "Valid Full Function Signatures" | ) |
subtest | ( | "Valid Single Types" | ) |
|
static |
|
static |
Helper subtest to verify that an invalid signature string fails to parse.
|
static |
Helper subtest to verify that a single type signature string parses correctly.