Skip to content

Commit

Permalink
To Review & Merge
Browse files Browse the repository at this point in the history
Some small non-necessary fixes to follow a proper
coding style throughout.
  • Loading branch information
brightprogrammer committed Dec 20, 2024
1 parent 8b53896 commit b3eefbb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Test/Test.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ ReaiResponse* reai_mock_request (

int main() {
Reai* reai = reai_create ("https://mock.reveng.api", "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
if (!reai) {
REAI_LOG_ERROR ("failed to create reai object.");
return EXIT_FAILURE;
}

reai_set_mock_handler (reai, reai_mock_request);

ReaiResponse response = {0};
reai_response_init (&response);
if (!reai_response_init (&response)) {
REAI_LOG_ERROR ("failed to init response object.");
return EXIT_FAILURE;
}

Bool success = true;

ReaiRequest req = {0};
Expand Down Expand Up @@ -130,7 +139,6 @@ int main() {
!!response.batch_binary_symbol_ann.function_matches)
)

// TODO fix dis
TEST (
"Batch function symbol ANN",
reai_batch_function_symbol_ann (reai, &response, 54321, NULL, 10, 0.1, NULL, true) &&
Expand Down

0 comments on commit b3eefbb

Please sign in to comment.