Skip to content

Feat: Implement loadTriangle method from file#601

Open
shivambavo wants to merge 5 commits into
CSC207-2025F-UofT:mainfrom
shivambavo:main
Open

Feat: Implement loadTriangle method from file#601
shivambavo wants to merge 5 commits into
CSC207-2025F-UofT:mainfrom
shivambavo:main

Conversation

@shivambavo

Copy link
Copy Markdown

edited files

Shivam Bavaria and others added 5 commits October 6, 2025 16:34
The method now reads a file line-by-line, builds the triangle structure by linking parent and child nodes, and returns the top node. Closes #1.
The method now checks if the resource file was found and throws a FileNotFoundException if it's missing. This prevents the method from returning null when the file path is invalid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant