<commit_before>import unittest


def merge_sort(seq):
    pass


class OrdenacaoTestes(unittest.TestCase):
    def teste_lista_vazia(self):
        self.assertListEqual([], merge_sort([]))

    def teste_lista_unitaria(self):
        self.assertListEqual([1], merge_sort([1]))

    def teste_lista_binaria(self):
        self.assertListEqual([1, 2], merge_sort([2, 1]))

    def teste_lista_binaria(self):
        self.assertListEqual([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], merge_sort([9, 7, 1, 8, 5, 3, 6, 4, 2, 0]))
<commit_msg>Testes de _merge<commit_after>import unittest


def _merge(seq_esquerda, seq_direita):
    pass


def merge_sort(seq):
    pass


class MergeTestes(unittest.TestCase):
    def test_listas_vazias(self):
        self.assertListEqual([], _merge([], []))

    def test_lista_uma_lista_unitaria(self):
        self.assertListEqual([1], _merge([1], []))

    def test_listas_unitarias(self):
        self.assertListEqual([1], _merge([1], []))

    def test_listas_unitarias(self):
        self.assertListEqual([1, 2], _merge([1], [2]))

    def test_listas_intercaladas(self):
        self.assertListEqual([1, 2, 3, 4, 5, 6], _merge([1, 3, 5], [2, 4, 6]))


class OrdenacaoTestes(unittest.TestCase):
    def teste_lista_vazia(self):
        self.assertListEqual([], merge_sort([]))

    def teste_lista_unitaria(self):
        self.assertListEqual([1], merge_sort([1]))

    def teste_lista_binaria(self):
        self.assertListEqual([1, 2], merge_sort([2, 1]))

    def teste_lista_binaria(self):
        self.assertListEqual([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], merge_sort([9, 7, 1, 8, 5, 3, 6, 4, 2, 0]))

{'fraction_non_alphanumeric': 0.16162862430598396, 'fraction_numerical': 0.04441702652683529, 'mean_word_length': 3.8273809523809526, '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': '723846', 'n_tokens_mistral': 672, 'n_tokens_neox': 611, 'n_words': 126}