<commit_before>#ifndef TEST_C_H
#define TEST_C_H
#include <stdio.h>
#include <string.h>
#define TEST_C_PASSED 0
#define TEST_C_FAILED 1

#define TEST_C_START(name) \
  int name() {

#define TEST_C_END \
    return TEST_C_PASSED; \
  }

#define TEST_C_ASSERT_CHAR_EQUAL(expected, actual) \
  if (expected != actual) { \
    printf("TEST_C_ASSERT_CHAR_EQUAL failed!  Expected %c was given %c\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_INT_EQUAL(expected, actual) \
  if (expected != actual) { \
    printf("TEST_C_ASSERT_INT_EQUAL failed!  Expected %d was given %d\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_STRING_EQUAL(expected, actual) \
  if (strcmp(expected, actual)) { \
    printf("TEST_C_ASSERT_STRING_EQUAL failed!  Expected %s was given %s\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#endif<commit_msg>Adding assertions for long and NULL<commit_after>#ifndef TEST_C_H
#define TEST_C_H
#include <stdio.h>
#include <string.h>
#define TEST_C_PASSED 0
#define TEST_C_FAILED 1

#define TEST_C_START(name) \
  int name() {

#define TEST_C_END \
    return TEST_C_PASSED; \
  }

#define TEST_C_ASSERT_CHAR_EQUAL(expected, actual) \
  if (expected != actual) { \
    printf("TEST_C_ASSERT_CHAR_EQUAL failed!  Expected %c was given %c\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_INT_EQUAL(expected, actual) \
  if (expected != actual) { \
    printf("TEST_C_ASSERT_INT_EQUAL failed!  Expected %d was given %d\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_LONG_EQUAL(expected, actual) \
  if (expected != actual) { \
    printf("TEST_C_ASSERT_LONG_EQUAL failed!  Expected %ld was given %ld\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_NOT_NULL(test, msg) \
  if (test == NULL) { \
    printf("TEST_C_ASSERT_NOT_NULL failed!  %s\n", msg); \
    return TEST_C_FAILED; \
  }

#define TEST_C_ASSERT_STRING_EQUAL(expected, actual) \
  if (strcmp(expected, actual)) { \
    printf("TEST_C_ASSERT_STRING_EQUAL failed!  Expected %s was given %s\n", expected, actual); \
    return TEST_C_FAILED; \
  }

#endif
{'fraction_non_alphanumeric': 0.12043795620437957, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 4.111888111888112, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6354571', 'n_tokens_mistral': 816, 'n_tokens_neox': 808, 'n_words': 181}