khwang0 / 2018F-COMP3111

19 stars 13 forks source link

[Basic 6]Close and Last Search #79

Open khchungad opened 5 years ago

khchungad commented 5 years ago

According to the instruction, Close will clear the current search record and initialize all tabs on the right to their initial state.

Therefore, since only the current search record is cleared, the Last Search function should be able to call and will return the last search record right?

For example, keyword(apple) keyword(orange) call function "Close" -> the current search record is cleared call function "Last Search" -> keyword(apple)

comp3111ta commented 5 years ago

This is asked before. Basically we don't test this case. #uptoyou