Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Extended surface_of_triangle test to check if decimals work

  • Loading branch information...
commit 9a16b59329ab23cefa652304bd207868133e37b8 1 parent c70fcfc
@gabejackson authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests.py
View
1  tests.py
@@ -55,6 +55,7 @@ def test_element_in_list(self):
def test_surface_of_triangle(self):
self.assertEqual(50, surface_of_triangle(10,10))
self.assertEqual(10, surface_of_triangle(4,5))
+ self.assertEqual(12.5, surface_of_triangle(5,5))
if __name__ == '__main__':
unittest.main()
Please sign in to comment.
Something went wrong with that request. Please try again.