示例#1
0
 def test_pyfunc_python(self):
     self.assertEqual(pyfunc('Guido van Rossum', 'Python'),
                      'Guido van Rossum, known for Python')
示例#2
0
 def test_pyfunc_ruby(self):
     self.assertEqual(pyfunc('Yukihiro Matsumoto', 'Ruby'),
                      'Yukihiro Matsumoto, known for Ruby')
示例#3
0
 def test_pyfunc_perl(self):
     self.assertEqual(pyfunc('Larry Wall', 'Perl'),
                      'Larry Wall, known for Perl')
示例#4
0
def test_pyfunc_ruby():
    assert pyfunc('Yukihiro Matsumoto', 'Ruby') == 'Yukihiro Matsumoto, known for Ruby'
示例#5
0
def test_pyfunc_perl():
    assert pyfunc('Larry Wall','Perl') == 'Larry Wall, known for Perl'
示例#6
0
def test_pyfunc_python():
    assert pyfunc('Guido van Rossum','Python') == 'Guido van Rossum, known for Python'