#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pytest

from lib import *

def test_ead():
    eads = {
        (21, 10): 10,
        (21, 20): 20,
        (21, 30): 30,
        (21, 75): 75,
        (28, 20): 18,
        (28, 30): 27,
        (28, 40): 36,
        (28, 50): 45
    }
    for (fo2, depth), expected in eads.items():
        assert ead(fo2, depth) == expected

3d3c2cb3a4d1ad3346f2754089c3b313368d58c9
<mask token>

<mask token>


def test_ead():
    eads = {(21, 10): 10, (21, 20): 20, (21, 30): 30, (21, 75): 75, (28, 20
        ): 18, (28, 30): 27, (28, 40): 36, (28, 50): 45}
    for (fo2, depth), expected in eads.items():
        assert ead(fo2, depth) == expected

import pytest
from lib import *


def test_ead():
    eads = {(21, 10): 10, (21, 20): 20, (21, 30): 30, (21, 75): 75, (28, 20
        ): 18, (28, 30): 27, (28, 40): 36, (28, 50): 45}
    for (fo2, depth), expected in eads.items():
        assert ead(fo2, depth) == expected

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pytest

from lib import *

def test_ead():
    eads = {
        (21, 10): 10,
        (21, 20): 20,
        (21, 30): 30,
        (21, 75): 75,
        (28, 20): 18,
        (28, 30): 27,
        (28, 40): 36,
        (28, 50): 45
    }
    for (fo2, depth), expected in eads.items():
        assert ead(fo2, depth) == expected
