tests/
- Main functions provided by Holberton School to test the files and.txt
files for testing usingDoctest
.
- 0. Integers addition
0-add_integer.py
- Function that adds 2 integers.tests/0-add_integer.txt
- Test file withDoctest
.
- 1. Divide a matrix
2-matrix_divided.py
- Function that divides all elements of a matrix.tests/2-matrix_divided.txt
- Test file withDoctest
.
- 2. Say my name
3-say_my_name.py
- Function that printsMy name is <first name> <last name>
.tests/3-say_my_name.txt
- Test file withDoctest
.
- 3. Print square
4-print_square.py
- Function that prints a square with the character#
.tests/4-print_square.txt
- Test file withDoctest
.
- 4. Text indentation
5-text_indentation.py
- Function that prints a text with 2 new lines after each of these characteres:.
,?
and:
.tests/5-text_indentation.txt
- Test file withDoctest
.
- 5. Max integer - Unittest
6-max_integer.py
- Function to find and return the max integer in a list of integers.tests/6-max_integer_test.py
- Test file withUnittest
.
- Felipe Villamizar - GitHub