Condoms

My boyfriend and I use condoms. He wears it the hole time and pulls out before finishing. I check for breaks when we are done. If I fill it with water and nothing leaks out, then does that mean my condom was successful and I won’t get pregnant?