TEST: wrote tests for compute_fp.py