MichaelDysart / SYSC4806_Project

The SYSC4806_Project For Group 2
0 stars 1 forks source link

NumberQuestion logic to determine if an answer is outside the bounds of the min and max? #58

Closed JacksonSchoe closed 4 years ago

MichaelDysart commented 4 years ago

This exists for the server. See lines 124 -126 of https://github.com/MichaelDysart/SYSC4806_Project/blob/master/src/main/java/webApp/webController.java#L124

It is tested on lines 179 to 185 of https://github.com/MichaelDysart/SYSC4806_Project/blob/master/src/test/java/webApp/webControllerTest.java#L179, However, it is only tested for greater than the max, and not tested for less than min. A test should be added for that.

It does not exist for the client, and should be added.

JacksonSchoe commented 4 years ago

So leave this issue open then?

MichaelDysart commented 4 years ago

Yes