The only risks for HIV in adults are:
1) Having unprotected anal or vaginal sex, or
2) sharing intravenous needles with IV drug users.
Sexually, the ONLY way HIV is transmitted is when a penis is INSIDE a vagina or anus. You had zero risk for HIV and you do not need to test.