<commit_before>﻿using System;

namespace TddCourse
{
    internal interface ICalculator
    {
        float Divide(int dividend, int divisor);
        event EventHandler CalculatedEvent;
    }

    internal class Calculator : ICalculator
    {
        public float Divide(int dividend, int divisor)
        {
            if (divisor == 0) throw new DivideByZeroException();
<commit_msg>calculator - changed visibility to public<commit_after>﻿using System;

namespace TddCourse
{
    public interface ICalculator
    {
        float Divide(int dividend, int divisor);
        event EventHandler CalculatedEvent;
    }

    public class Calculator : ICalculator
    {
        public float Divide(int dividend, int divisor)
        {
            if (divisor == 0) throw new DivideByZeroException();

{'fraction_non_alphanumeric': 0.06658291457286432, 'fraction_numerical': 0.002512562814070352, 'mean_word_length': 2.7069767441860466, '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': '1514457', 'n_tokens_mistral': 234, 'n_tokens_neox': 208, 'n_words': 66}