Open rhoolan opened 3 months ago
Currently it will store userOne - userTwo
This is a problem because it could cause the same two users to be saved twice.
EX: (abc - def) and (def - abc).
SOLUTION: Sort userNames alphabetically and then store them in the cash
EX userOne = abc, userTwo = def : cache = abc-def userOne = def, userTwo = abc : cache = abc-def
Need to write unit tests
Currently it will store userOne - userTwo
This is a problem because it could cause the same two users to be saved twice.
EX: (abc - def) and (def - abc).
SOLUTION: Sort userNames alphabetically and then store them in the cash
EX userOne = abc, userTwo = def : cache = abc-def userOne = def, userTwo = abc : cache = abc-def