本文整理汇总了Python中solution.what_is_my_sign函数的典型用法代码示例。如果您正苦于以下问题:Python what_is_my_sign函数的具体用法?Python what_is_my_sign怎么用?Python what_is_my_sign使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了what_is_my_sign函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_what_is_my_sign
def test_what_is_my_sign(self):
self.assertEqual(what_is_my_sign(5, 8), "Leo")
self.assertEqual(what_is_my_sign(29, 1), "Aquarius")
self.assertEqual(what_is_my_sign(30, 6), "Cancer")
self.assertEqual(what_is_my_sign(31, 5), "Gemini")
self.assertEqual(what_is_my_sign(2, 2), "Aquarius")
self.assertEqual(what_is_my_sign(8, 5), "Taurus")
self.assertEqual(what_is_my_sign(9, 1), "Capricorn")
self.assertEqual(what_is_my_sign(19, 10), "Libra")
示例2: test_dates
def test_dates(self):
self.assertEqual("Leo",what_is_my_sign(5,8))
self.assertEqual("Aquarius",what_is_my_sign(29,1))
self.assertEqual("Cancer",what_is_my_sign(30,6))
self.assertEqual("Gemini",what_is_my_sign(31,5))
self.assertEqual("Aquarius",what_is_my_sign(2,2))
self.assertEqual("Taurus",what_is_my_sign(8,5))
self.assertEqual("Capricorn",what_is_my_sign(9,1))
示例3: test_3
def test_3(self):
self.assertEqual("Cancer", what_is_my_sign(30, 6))
示例4: test_what_is_my_sign_6th
def test_what_is_my_sign_6th(self):
self.assertEqual("Taurus", solution.what_is_my_sign(8, 5) )
示例5: test_aries
def test_aries(self):
self.assertEqual(solution.what_is_my_sign(1, 4), 'Овен')
示例6: test_2
def test_2(self):
self.assertEqual("Aquarius", what_is_my_sign(29, 1))
示例7: test_what_is_my_sign_1st
def test_what_is_my_sign_1st(self):
self.assertEqual("Leo", solution.what_is_my_sign(5, 8) )
示例8: test_6
def test_6(self):
self.assertEqual("Taurus", what_is_my_sign(8, 5))
示例9: test_8
def test_8(self):
self.assertEqual("Scorpio", what_is_my_sign(10, 11))
示例10: test_virgo
def test_virgo(self):
self.assertEqual(solution.what_is_my_sign(2, 9), 'Дева')
示例11: test_libra
def test_libra(self):
self.assertEqual(solution.what_is_my_sign(5, 10), 'Везни')
示例12: test_cancer
def test_cancer(self):
self.assertEqual(solution.what_is_my_sign(8, 7), 'Рак')
示例13: test_leo
def test_leo(self):
self.assertEqual(solution.what_is_my_sign(1, 8), 'Лъв')
示例14: test_gemini
def test_gemini(self):
self.assertEqual(solution.what_is_my_sign(16, 6), 'Близнаци')
示例15: test_taurus
def test_taurus(self):
self.assertEqual(solution.what_is_my_sign(6, 5), 'Телец')