Skip to content

Commit 70dedd8

Browse files
Added debugging and tests
Co-Authored-By: Carrington <215159144+carrington-cs@users.noreply.github.com>
1 parent 1a49ad7 commit 70dedd8

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python Debugger: Current File",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"program": "${file}",
12+
"console": "integratedTerminal"
13+
}
14+
]
15+
}

examples/with-unittest/library_management_system/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def __init__(self, name: str, profession: str, age: str, race: str = "african"):
6464
def __str__(self):
6565
return f"Employee({self.name=}, {self.profession=}, {self.age=})"
6666

67-
reading_material_unit = ReadingMaterialUnit("New Maths", "author", "isbn", "year_published")
68-
reading_material_unit_2 = reading_material_unit
67+
# reading_material_unit = ReadingMaterialUnit("New Maths", "author", "isbn", "year_published")
68+
# reading_material_unit_2 = reading_material_unit
6969

70-
print(hex(id(reading_material_unit)))
71-
print(hex(id(reading_material_unit_2)))
70+
# print(hex(id(reading_material_unit)))
71+
# print(hex(id(reading_material_unit_2)))

0 commit comments

Comments
 (0)