Advanced tests #390

merged 2 commits into from Mar 27, 2013


None yet
2 participants

jnavila commented Mar 26, 2013

Add tests to check that:

  • the titles are correctly formatted
  • the declarations for figure inclusion are not outnumbering the actual figure number
Check that titles are correctly formatted
In Markdown, the sharps at the end of the title line can be elided
but they may not be followed by spaces. Otherwise, the sharps are
rendered in the title.

GArik commented Mar 27, 2013

Looks good :)

Check the number of declared figures in each chapter
If the number of declared figures is greater that the number of available
figures, processing errors occur while converting to html or pdf. The error
messages are not obvious, so it is safer to catch the mistake before.

jnavila added a commit that referenced this pull request Mar 27, 2013

@jnavila jnavila merged commit 88d28ac into master Mar 27, 2013

@jnavila jnavila deleted the advanced_tests branch Mar 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment