You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@test !(is_unit(x) && is_nilpotent(x))
@test is_unit(x) == is_unit(x^2)
@test is_nilpotent(x) == is_nilpotent(x^2)
if characteristic(R) > 0 && is_nilpotent(x)
@test is_unit(x+1)
end
if is_domain_type(typeof(x))
@test is_nilpotent(x) == is_zero(x)
end
Then we have of course tests of polynomials rings over a ring -- those could also have some tests for specific polynomials, i.e. if the indeterminate is t then is_unit(1+t) == false, etc.