<commit_before>package bank

import (
	"testing"

	"bitbucket.org/mundipagg/boletoapi/test"
)

func TestShouldCalculateAgencyDigitFromBb(t *testing.T) {
	test.ExpectTrue(bbAgencyDigitCalculator("0137") == "6", t)

	test.ExpectTrue(bbAgencyDigitCalculator("3418") == "5", t)

	test.ExpectTrue(bbAgencyDigitCalculator("3324") == "3", t)

	test.ExpectTrue(bbAgencyDigitCalculator("5797") == "5", t)
}

func TestShouldCalculateAccountDigitFromBb(t *testing.T) {
	// test.ExpectTrue(bbAccountDigitCalculator("", "00006685") == "0", t)

	// test.ExpectTrue(bbAccountDigitCalculator("", "00025619") == "6", t)

	// test.ExpectTrue(bbAccountDigitCalculator("", "00006842") == "X", t)

	// test.ExpectTrue(bbAccountDigitCalculator("", "00000787") == "0", t)
	t.Fail()
}<commit_msg>:poop: Sim, a build quebra quando o teste falha!<commit_after>package bank

import (
	"testing"

	"bitbucket.org/mundipagg/boletoapi/test"
)

func TestShouldCalculateAgencyDigitFromBb(t *testing.T) {
	test.ExpectTrue(bbAgencyDigitCalculator("0137") == "6", t)

	test.ExpectTrue(bbAgencyDigitCalculator("3418") == "5", t)

	test.ExpectTrue(bbAgencyDigitCalculator("3324") == "3", t)

	test.ExpectTrue(bbAgencyDigitCalculator("5797") == "5", t)
}

func TestShouldCalculateAccountDigitFromBb(t *testing.T) {
	test.ExpectTrue(bbAccountDigitCalculator("", "00006685") == "0", t)

	test.ExpectTrue(bbAccountDigitCalculator("", "00025619") == "6", t)

	test.ExpectTrue(bbAccountDigitCalculator("", "00006842") == "X", t)

	test.ExpectTrue(bbAccountDigitCalculator("", "00000787") == "0", t)
}
{'fraction_non_alphanumeric': 0.18047527296082208, 'fraction_numerical': 0.07064868336544637, 'mean_word_length': 6.948979591836735, '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': '5954778', 'n_tokens_mistral': 686, 'n_tokens_neox': 594, 'n_words': 87}