<commit_before>﻿namespace WangTiles.Tests
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    [TestClass]
    public class TileTests
    {
        [TestMethod]
        public void CreateTileWithColors()
        {
            var tile = new Tile(0, 1, 2, 3);

            Assert.AreEqual(0, tile.East);
            Assert.AreEqual(1, tile.North);
            Assert.AreEqual(2, tile.West);
            Assert.AreEqual(3, tile.South);
        }

        [TestMethod]
        public void Equals()
        {
            var tile1 = new Tile(0, 1, 2, 3);
            var tile2 = new Tile(0, 1, 2, 2);
            var tile3 = new Tile(0, 1, 2, 3);

            Assert.IsTrue(tile1.Equals(tile1));
            Assert.IsTrue(tile1.Equals(tile3));
            Assert.IsFalse(tile1.Equals(tile2));
<commit_msg>Improving code coverage<commit_after>﻿namespace WangTiles.Tests
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    [TestClass]
    public class TileTests
    {
        [TestMethod]
        public void CreateTileWithColors()
        {
            var tile = new Tile(0, 1, 2, 3);

            Assert.AreEqual(0, tile.East);
            Assert.AreEqual(1, tile.North);
            Assert.AreEqual(2, tile.West);
            Assert.AreEqual(3, tile.South);
        }

        [TestMethod]
        public void Equals()
        {
            var tile1 = new Tile(0, 1, 2, 3);
            var tile2 = new Tile(0, 1, 2, 2);
            var tile3 = new Tile(0, 1, 2, 3);

            Assert.IsTrue(tile1.Equals(tile1));
            Assert.IsTrue(tile1.Equals(tile3));
            Assert.IsFalse(tile1.Equals(tile2));
            Assert.IsFalse(tile1.Equals(null));
            Assert.IsFalse(tile1.Equals("foo"));

{'fraction_non_alphanumeric': 0.11691670977754785, 'fraction_numerical': 0.031039834454216243, 'mean_word_length': 1.890881913303438, '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': '341145', 'n_tokens_mistral': 633, 'n_tokens_neox': 597, 'n_words': 130}