<commit_before>/*
 * mutation_class_test.cc
 */
#include "mutation_class.h"

#include "gtest/gtest.h"

#include "dynkin.h"

namespace cluster {

	TEST(MutationClass, A3) {
		QuiverMatrix mat = dynkin::A3;
		MutationClass c(mat);

		EXPECT_TRUE(c.is_finite());
		EXPECT_EQ(4, c.size());
		EXPECT_TRUE(c.contains(std::make_shared<EquivQuiverMatrix>(mat)));
	}
}<commit_msg>Adds infinite quiver test case.<commit_after>/*
 * mutation_class_test.cc
 */
#include "mutation_class.h"

#include "gtest/gtest.h"

#include "dynkin.h"

namespace cluster {

	TEST(MutationClass, A3) {
		QuiverMatrix mat = dynkin::A3;
		MutationClass c(mat);

		EXPECT_TRUE(c.is_finite());
		EXPECT_EQ(4, c.size());
		EXPECT_TRUE(c.contains(std::make_shared<EquivQuiverMatrix>(mat)));
	}

	TEST(MutationClass, Infinite) {
		int v[] = {0,1,0,0, -1,0,1,1, 0,-1,0,1, 0,-1,-1,0};
		EquivQuiverMatrix m(4,4,v);
		MutationClass c(m);

		EXPECT_FALSE(c.is_finite());
	}
}
{'fraction_non_alphanumeric': 0.1786096256684492, 'fraction_numerical': 0.025668449197860963, 'mean_word_length': 5.198675496688741, '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': '5420837', 'n_tokens_mistral': 419, 'n_tokens_neox': 395, 'n_words': 59}