Skip to content

Commit

Permalink
Update test/Rings-conformance-tests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Oct 4, 2024
1 parent ea55749 commit 9aa5cb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Rings-conformance-tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function equality(a::T, b::T) where T <: AbstractAlgebra.NCRingElement
end
end

# The following functions should not expect that their input is a `NCRingElem` or similar.
# They should be usable in more general types, that don't even have a `parent/elem` correspondence
function test_mutating_op_like_zero(f::Function, f!::Function, A)
a = deepcopy(A)
a = f!(a)
Expand Down

0 comments on commit 9aa5cb4

Please sign in to comment.