Skip to content

Commit

Permalink
Merge pull request #41 from ichrys03/msxdev
Browse files Browse the repository at this point in the history
Msxdev ~ msx unit test
  • Loading branch information
Mariosmsk authored Apr 17, 2024
2 parents 454a1fe + 254f50b commit 6637d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions epyt/tests/test_unit_MSX.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ def test_MSXgetindex(self):
def test_MSXaddpattern(self):

y = self.msxClass.MSXgetcount(7)
self.msxClass.MSXaddpattern("Johnnys")
self.msxClass.MSXaddpattern("pat-test-2")
self.assertEqual(self.msxClass.MSXgetcount(7), y + 1,
'Wrong error add patter output')

def test_MSXsetpatter(self):
self.msxClass.MSXaddpattern("JohnLegend")
x = self.msxClass.MSXgetindex(7, "JohnLegend")
self.msxClass.MSXaddpattern("pat-test-1")
x = self.msxClass.MSXgetindex(7, "pat-test-1")
mult = [0.5, 0.8, 1.2, 1.0, 0.7, 0.3]
self.msxClass.MSXsetpattern(x, mult, 6)

Expand All @@ -240,7 +240,7 @@ def test_MSXsetpatter(self):
'Wrong set/get patternvalue comment output')

def test_MSXsavesmsxfile(self):
filename = "JohntheLegend.msx"
filename = "net-test-1.msx"
self.msxClass.MSXsavemsxfile(filename)
full_path = os.path.join(os.getcwd(), filename)
if os.path.exists(full_path):
Expand Down

0 comments on commit 6637d58

Please sign in to comment.