Skip to content

Commit 6644e70

Browse files
committed
update plantumls
1 parent 419b65a commit 6644e70

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

demo-assignments/A1-OOP/cold/src/cold.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ def main() -> None:
9999
sol.solve(sys.stdin)
100100

101101

102-
if __name__ == "__main__":
103-
Solution.main() # pragma: no cover
102+
if __name__ == "__main__": # pragma: no cover
103+
Solution.main()
-5.31 KB
Binary file not shown.
-52.5 KB
Binary file not shown.
-54.6 KB
Binary file not shown.
-65.7 KB
Binary file not shown.

demo-assignments/A1-OOP/cold/uml/solution.plantuml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Solution {
1010
- _temps: List[Temperature]
1111
+ n: int {get; }
1212
.. Overloaded Methods ..
13-
+ __init__(): None
13+
- __init__(): None
1414
.. Instance Methods ..
1515
+ read_data(source: Any): None
1616
+ find_answer(): int

demo-assignments/A1-OOP/cold/uml/temperature.plantuml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ class Temperature {
1010
+ temp: int {get; set;}
1111
+ unit: str {get; set;}
1212
.. Overloaded Methods ..
13-
+ __init__(side1: float, side2: float, side3: float): None
14-
+ __str__(): str
15-
+ __repr__(): str
16-
+ __lt__(other: Temperature): bool
17-
+ __gt__(other: Temperature): bool
18-
+ __eq__(other: object): bool
19-
+ __le__(other: Temperature): bool
20-
+ __ge__(other: Temperature): bool
13+
- __init__(float, float, float): None
14+
- __str__(): str
15+
- __repr__(): str
16+
- __lt__(Temperature): bool
17+
- __gt__(Temperature): bool
18+
- __eq__(Temperature): bool
19+
- __le__(Temperature): bool
20+
- __ge__(Temperature): bool
2121
.. Instance Methods ..
2222
+ is_negative(): bool
2323
}

0 commit comments

Comments
 (0)