Murmeldyret / P3-Project

2 stars 0 forks source link

Spreadsheet, ensure string file path from file dialog works correctly #72

Open Uewotm90 opened 2 years ago

Uewotm90 commented 2 years ago

Avalonia's file dialog returns a string path, this path should work with the path parameter for the Spreadsheet constructor

SilverBrother commented 2 years ago

"Unit Test" or a comparison between the strings to validate and allow the program to continue to run. Otherwise throw an exception where it reports a wrong string path? (Should this be visible for the user? if so, we need a better warning)

Uewotm90 commented 2 years ago

"Unit Test" or a comparison between the strings to validate and allow the program to continue to run. Otherwise throw an exception where it reports a wrong string path? (Should this be visible for the user? if so, we need a better warning)

hva?

SilverBrother commented 2 years ago

"Unit Test" or a comparison between the strings to validate and allow the program to continue to run. Otherwise throw an exception where it reports a wrong string path? (Should this be visible for the user? if so, we need a better warning)

hva?

Tænker du at det er en unit test eller skal vi bare have en metode der validerer at file path er i overensstemmelse med hvad vi forventer? Oder was?