Skip to content
Snippets Groups Projects
Commit 9129e63f authored by Jack Holdsworth's avatar Jack Holdsworth
Browse files

images

parent 2582a4b9
Branches
No related tags found
No related merge requests found
......@@ -65,10 +65,9 @@ FEATURES OF CALCULATOR
___
### Task 3: Documentation.
* This task involves building UML diagrams for the calculator.
* ***Wiring Diagram*** This diagram demonstrates how the calculator is wired up.
* ***UML Class Diagram*** We are taking a websocket connecting to it and printing the packet all it one. This take doesnt require us todo much else with the packet so it can just be called in a function. ![image](src/screenshot11.PNG)
* ***send_packet(websocket, sourcePort, deskPort, payLoad)*** To send packets to the server they need to be in UDP format in base64. This function will create a header for the payload including the correct checksum so the server can confirm the packet has arrived valid. ![image](src/screenshot12.PNG)
* ***unittest.py*** unittest is an inbuilt Python library. Its a test runner and is specially design for running tests and debugging. This one contains a few useful tools that we are going to use. It works similarly to the assert function. Task 3 doesn't have any output other than to the terminal. I could alter the output but this is out of my scope for the project. Here I am just checking if the program runs correctly. All the tests were successful.![image](src/screenshot15.PNG)![image](src/screenshot16.PNG)
* ***Wiring Diagram*** This diagram demonstrates how the calculator is wired up. ![image](src/Wiring-Diagram.PNG)
* ***UML Class Diagram*** A class diagram for the classes involved with the calculator. ![image](src/UML.PNG)
___
## Demos
* Completed demo in class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment