TESTS: properly test for zero-polynomial

This commit is contained in:
hasufell 2014-06-28 01:27:42 +02:00
parent 79b01381b0
commit 187875e9c7
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -71,5 +71,5 @@ void test_poly_new2(void)
poly_new(new_poly, NULL, 0); poly_new(new_poly, NULL, 0);
CU_ASSERT_PTR_NULL(fmpz_poly_get_coeff_ptr(new_poly, 0)); CU_ASSERT_EQUAL(fmpz_poly_is_zero(new_poly), 1);
} }