Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
add testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaruso committed Apr 2, 2020
1 parent cb588b8 commit 16ce9e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sage/rings/finite_rings/hom_finite_field.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,15 @@ cdef class SectionFiniteFieldHomomorphism_generic(Section):
cdef class FiniteFieldHomomorphism_generic(RingHomomorphism_im_gens):
"""
A class implementing embeddings between finite fields.
TESTS::
sage: from sage.rings.finite_rings.hom_finite_field import FiniteFieldHomomorphism_generic
sage: k.<t> = GF(3^7)
sage: K.<T> = GF(3^21)
sage: f = FiniteFieldHomomorphism_generic(Hom(k, K))
sage: TestSuite(f).run()
"""
def __init__(self, parent, im_gens=None, base_map=None, check=True, section_class=None):
"""
Expand Down

0 comments on commit 16ce9e3

Please sign in to comment.