<commit_before>#include "unity.h"
#include "cpuid.h"

void test_GetVendorName_should_ReturnGenuineIntel(void) {
  char expected[20] = "GenuineIntel";

  char actual[20];
  get_vendor_name(actual);
  
  TEST_ASSERT_EQUAL_STRING(expected, actual);
}

void test_GetVendorSignature_should_asdf(void) {
  uint32_t exp_ebx = 0x756e6547; // translates to "Genu"
  uint32_t exp_ecx = 0x6c65746e; // translates to "ineI"
  uint32_t exp_edx = 0x49656e69; // translates to "ntel"

  cpuid_info_t sig;
  sig = get_vendor_signature();

  TEST_ASSERT_EQUAL_UINT32(exp_ebx, sig.ebx);<commit_msg>Change method-name to something more appropriate<commit_after>#include "unity.h"
#include "cpuid.h"

void test_GetVendorName_should_ReturnGenuineIntel(void) {
  char expected[20] = "GenuineIntel";

  char actual[20];
  get_vendor_name(actual);
  
  TEST_ASSERT_EQUAL_STRING(expected, actual);
}

void test_GetVendorSignature_should_ReturnCorrectCpuIdValues(void) {
  uint32_t exp_ebx = 0x756e6547; // translates to "Genu"
  uint32_t exp_ecx = 0x6c65746e; // translates to "ineI"
  uint32_t exp_edx = 0x49656e69; // translates to "ntel"

  cpuid_info_t sig;
  sig = get_vendor_signature();

  TEST_ASSERT_EQUAL_UINT32(exp_ebx, sig.ebx);
{'fraction_non_alphanumeric': 0.102880658436214, 'fraction_numerical': 0.05761316872427984, 'mean_word_length': 5.718232044198895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5129226', 'n_tokens_mistral': 527, 'n_tokens_neox': 473, 'n_words': 84}