use assert_allclose for xrf fit test