<reponame>PacktWorkshops/The-Reinforcement-Learning-Workshop<filename>Chapter05/Exercise5.02/test_exercise5_02.py<gh_stars>10-100
import import_ipynb
from Exercise5_02 import lcs_brute_force, lcs_tabular


def test_lcs_brute_force():
    a = "BBBABDABAA"
    b = "AAAABDABBAABB"
    assert 5 == lcs_tabular(a, b)


def test_lcs_tabular():
    a = "BBBABDABAA"
    b = "AAAABDABBAABB"
    assert 5 == lcs_tabular(a, b)

import import_ipynb
from Exercise5_02 import lcs_brute_force, lcs_tabular


def test_lcs_brute_force():
    a = "BBBABDABAA"
    b = "AAAABDABBAABB"
    assert 5 == lcs_tabular(a, b)


def test_lcs_tabular():
    a = "BBBABDABAA"
    b = "AAAABDABBAABB"
    assert 5 == lcs_tabular(a, b)