harryShepherd / Ambry

Software Engineering Methods Group 18
Apache License 2.0
3 stars 0 forks source link

Validate Function Inputs #53

Closed harryShepherd closed 5 months ago

harryShepherd commented 6 months ago

Currently, function such as TopNWorld, TopNRegion etc.. do not validate inputs.

The input should ideally be validated before any attempt to connect is made.

The function should throw an InvalidParameterException when invalid input is detected.

There are tests that test for these cases.

Thanks guys :)