Skip to content

Testing the example codes in the documentation #639

Closed
@Beliavsky

Description

@Beliavsky

An example I tried to run from the documentation, program demo_normal_pdf, has a typo

complx :: loc, scale

where complx should be complex.

Upon fixing this the code ran, as have other codes I have tried from the documentation. Is it possible to test all the codes in the online documentation in an automated way?

A comment there says

10 standard norml random variates

where "normal" is misspelled. Typos in comments probably need to be caught manually. Also "imaginary" is misspelled "imagainary".

More nitpicking -- some comments have text immediately after the !, which I think is less readable, for example

!a probability density at 1.0 in standard normal

It would be possible to check for ! not followed by a space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationin progressThis proposal is being worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions