<commit_before>#include "doctest.h"
#include "../src/llstring.h"
#include <iostream>
using namespace std;

TEST_CASE("llstring - Testing equals and append") {
  llstring a("a");
  CHECK(a.equals("a"));

  a.append("b");
  CHECK(a.equals("ab"));

}

TEST_CASE("llstring - operator+=") {
  llstring ab;
  ab += "a";
  ab += "b";
  CHECK(ab.equals("ab"));

  ab += ab;
  CHECK(ab.equals("abab"));
}

TEST_CASE("llstring - operator+") {
  llstring op_a("a");
  llstring op_b("b");
  llstring op_ab = op_a + op_b;

  CHECK(op_ab.equals("ab"));
}<commit_msg>Adding test case for operator==<commit_after>#include "doctest.h"
#include "../src/llstring.h"
#include <iostream>
using namespace std;

TEST_CASE("llstring - Testing equals and append") {
  llstring a("a");
  CHECK(a.equals("a"));

  a.append("b");
  CHECK(a.equals("ab"));

}

TEST_CASE("llstring - operator+=") {
  llstring ab;
  ab += "a";
  ab += "b";
  CHECK(ab.equals("ab"));

  ab += ab;
  CHECK(ab.equals("abab"));
}

TEST_CASE("llstring - operator+") {
  llstring op_a("a");
  llstring op_b("b");
  llstring op_ab = op_a + op_b;

  CHECK(op_ab.equals("ab"));
}

TEST_CASE("llstring - operator==") {
  llstring a("a");
  CHECK(a == "a");

  a += "b";
  CHECK(a == "ab");
}
{'fraction_non_alphanumeric': 0.22465531224655313, 'fraction_numerical': 0.0, 'mean_word_length': 4.099173553719008, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2235117', 'n_tokens_mistral': 504, 'n_tokens_neox': 492, 'n_words': 98}