Skip to content

Turn ConstPolyRing example into a doctest #3728

Turn ConstPolyRing example into a doctest

Turn ConstPolyRing example into a doctest #3728

Triggered via pull request November 8, 2024 12:12
Status Failure
Total duration 59m 57s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
Documentation: docs/src/ring_interface.md#L1018
doctest failure in src/ring_interface.md:1018-1030 ```jldoctest ConstPoly; filter = r".*" using Test include(joinpath(pathof(AbstractAlgebra), "..", "..", "test", "Rings-conformance-tests.jl")) function test_elem(R::ConstPolyRing{elem_type(ZZ)}) n = rand(1:999) return R(rand(-n:n)) end test_Ring_interface(constant_polynomial_ring(ZZ)) # output ``` Subexpression: using Test include(joinpath(pathof(AbstractAlgebra), "..", "..", "test", "Rings-conformance-tests.jl")) function test_elem(R::ConstPolyRing{elem_type(ZZ)}) n = rand(1:999) return R(rand(-n:n)) end test_Ring_interface(constant_polynomial_ring(ZZ)) Evaluated output: Test Summary: | Pass Total Time Ring interface for Constant polynomials over integers of type ConstPolyRing{BigInt} | 13846 13846 0.6s Expected output: diff = Warning: Diff output requires color. Test Summary: | Pass Total Time Ring interface for Constant polynomials over integers of type ConstPolyRing{BigInt} | 13846 13846 0.6s
Documentation: docs/src/ring_interface.md#L1052
doctest failure in src/ring_interface.md:1052-1056 ```jldoctest ConstPoly; filter = r".*" test_EuclideanRing_interface(constant_polynomial_ring(ZZ)) # output ``` Subexpression: test_EuclideanRing_interface(constant_polynomial_ring(ZZ)) Evaluated output: Test Summary: | Pass Total Time Euclidean Ring interface for Constant polynomials over integers of type ConstPolyRing{BigInt} | 2220 2220 0.1s Expected output: diff = Warning: Diff output requires color. Test Summary: | Pass Total Time Euclidean Ring interface for Constant polynomials over integers of type ConstPolyRing{BigInt} | 2220 2220 0.1s
Documentation
Process completed with exit code 1.
test (1.6, ubuntu-latest)
[setup-julia] If you are testing 1.6 as a Long Term Support (lts) version, consider using the new "lts" version specifier instead of "1.6" explicitly, which will automatically resolve the current lts.