use expect_double_eq for double comparison