From 16ce9e30fc30589e8a7a9621e325d42b15722079 Mon Sep 17 00:00:00 2001 From: Xavier Caruso Date: Fri, 3 Apr 2020 00:59:40 +0200 Subject: [PATCH] add testsuite --- src/sage/rings/finite_rings/hom_finite_field.pyx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sage/rings/finite_rings/hom_finite_field.pyx b/src/sage/rings/finite_rings/hom_finite_field.pyx index c1b0e0e8790..bb216a813ea 100644 --- a/src/sage/rings/finite_rings/hom_finite_field.pyx +++ b/src/sage/rings/finite_rings/hom_finite_field.pyx @@ -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. = GF(3^7) + sage: K. = 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): """