added bones of mig_meow pattern and recipe implementations

This commit is contained in:
PatchOfScotland
2022-12-02 13:14:33 +01:00
parent 9dd2d0c209
commit 07ceca0061
5 changed files with 248 additions and 74 deletions

24
tests/testMeow.py Normal file
View File

@ -0,0 +1,24 @@
import unittest
from core.meow import BasePattern, BaseRecipe, BaseRule
class MeowTests(unittest.TestCase):
def setUp(self)->None:
return super().setUp()
def tearDown(self)->None:
return super().tearDown()
def testBaseRecipe(self)->None:
with self.assertRaises(TypeError):
BaseRecipe("", "")
def testBasePattern(self)->None:
with self.assertRaises(TypeError):
BasePattern("", "")
def testBaseRule(self)->None:
with self.assertRaises(TypeError):
BaseRule("", "")