[Caffe2][Testing] Check for equality first in assertTensorEqualsWithType<float> (#61006)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61006
Test Plan: Modified existing unit test to test for eps = 0. It would fail without the equality test first.
Reviewed By: ajyu
Differential Revision: D29423770
fbshipit-source-id: 168e7de00d8522c4b646a8335d0120700915f260