nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

EP inquiry #1055

Closed jeong-jaeho closed 5 months ago

jeong-jaeho commented 5 months ago

image image

Do EPs need to be adjacent? image This example shows EPs don't need to be adjacent though hmm..

baskargopinath commented 5 months ago

i dont think EP's have to be adjacent. in ur screenshot of the textbook it also says EPs may not have adjacent values

jeong-jaeho commented 5 months ago

@damithc Is it that EPs need to follow the input param's type? For example, the reason why 'all non int values' isn't accepted is because type 'int' can only accept test cases that can be substituted into the type 'int'.

Since the second example's input type is String, it can accept all types of strings and also 'null'?

damithc commented 5 months ago

@damithc Is it that EPs need to follow the input param's type? For example, the reason why 'all non int values' isn't accepted is because type 'int' can only accept test cases that can be substituted into the type 'int'.

Since the second example's input type is String, it can accept all types of strings and also 'null'?

@jeong-jaeho See if https://github.com/nus-cs2103-AY2324S2/forum/issues/1043 helps