Skip to content

Latest commit

 

History

History

0x07-python-test_driven_development

0x07. Python - Test-driven development

Resources:books:

Read or watch:


Learning Objectives:bulb:

What you should learn from this project:

  • Why Python programming is awesome
  • What’s an interactive test
  • Why tests are important
  • How to write Docstrings to create tests
  • How to write documentation for each module and function
  • What are the basic option flags to create tests
  • How to find edge cases

  • Write a function that adds 2 integers.
  • Write a function that divides all elements of a matrix.
  • Write a function that prints My name is
  • Write a function that prints a square with the character #.
  • Write a function that prints a text with 2 new lines after each of these characters: ., ? and :
  • Since the beginning you have been creating “Interactive tests”. For this exercise, you will add Unittests.
  • Write a function that multiplies 2 matrices:
  • Write a function that multiplies 2 matrices by using the module NumPy

Author