#import <XCTest/XCTest.h>
#include "yyjson.h"
#include "yy_test_utils.h"

@interface YYTestCase : XCTestCase
@end

@implementation YYTestCase

// Code generated by cmake:

@YYJSON_TEST_LINES@

@end

const char *yyjson_test_data_path(void) {
    static const char *path;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        NSString *dataPath = [[NSBundle bundleForClass:YYTestCase.class] resourcePath];
        path = strdup(dataPath.UTF8String);
    });
    return path;
}
