コード例 #1
0
ファイル: tests.py プロジェクト: chasebrewsky/COSC603
 def test_description_is_greater_than_0(self):
     """
     Check if the size of the string is more than 1
     Return true if it meets the size requirements
     """
     description_string = Todo(description="Checking the size")
     self.assertEqual(description_string.description_is_more_than_0(), True)
コード例 #2
0
ファイル: tests.py プロジェクト: chasebrewsky/COSC603
 def test_description_is_equal_to_0(self):
     description_string = Todo(description="")
     self.assertEqual(
         description_string.description_is_more_than_0(),
         False,
     )