-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_file.py
More file actions
41 lines (38 loc) · 1.24 KB
/
run_file.py
File metadata and controls
41 lines (38 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from general_functions import return_formatted_name
# # test setup
#
# known_input = ' nathan '
# expected_output = 'Nathan'
# #
# # # test execution
# print("Testing function return_formatted_name() with ' nathan ' ---> 'Nathan'")
# print(return_formatted_name(known_input) == (expected_output))
#
# # testing say_hello()
#
# from general_functions import say_hello_name
#
# known_input_say_hello = 'Nathan '
# expected_output_say_hello = 'hello Nathan'
#
# print("Testing function say_hello_name() with 'Nathan ' --> 'hello Nathan'")
# print(say_hello_name(known_input_say_hello) == (expected_output_say_hello))
#
# print(say_hello_name(known_input_say_hello))
#
# from general_functions import surname
#
# known_input_surname = ' forester '
# expected_output_surname = 'Forester'
#
# print("Testing function surname() with ' forester ' --> 'Forester'")
# print(surname(known_input_surname) == (expected_output_surname))
#
# from new_bizz_buzz import check_if_digit_div_num
#
# known_number_1 = 5
# known_number_2 = 5
# expected_number_output = 0
#
# print("Testing function check_if_digit_div_num() with '5, 5' ---> '0'")
# print(check_if_digit_div_num(known_number_1, known_number_2) == (expected_number_output))