use assertEquals for numerical comparison

Change-Id: I3392e5a47bd940ed635c6c9c7f86c98fb9b83f69