"""
Tests for class `Calc`
Generated by auto-pytester — DO NOT EDIT MANUALLY.
"""
import pytest

from src_demo.calc import Calc


@pytest.fixture
def calc():
    return Calc()


def test_Calc_add_0(calc):
    """
    expect 2 + 3 == 5
    """
    result = calc.add(**{'a': 2, 'b': 3})
    assert result == 5

def test_Calc_add_1(calc):
    """
    expect 33 + 3 == 102
    """
    result = calc.add(**{'a': 99, 'b': 3})
    assert result == 102

def test_Calc_add_2(calc):
    result = calc.add(**{'a': 9, 'b': 3})
    assert result == 12

def test_Calc_div_3(calc):
    result = calc.div(**{'a': 6, 'b': 3})
    assert result == 2
