Skip to content

Commit a0c527d

Browse files
committed
Update funcWithStrsAndConds.ptx
1 parent 1938fce commit a0c527d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pretext/functions/funcWithStrsAndConds.ptx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,15 @@ def main():
263263

264264
# function call
265265
main()
266+
====
267+
from unittest.gui import TestCaseGui
268+
class myTests(TestCaseGui):
269+
270+
def testOne(self):
271+
self.assertEqual(get_initials("J'Quan",'Alik'),"JA",'''get_initials("J'Quan",'Alik')''')
272+
273+
myTests().main()
274+
266275
</input>
267276
</program>
268277
</exercise>

0 commit comments

Comments
 (0)