korsbo/Latexify.jl

Increase test coverage.

Open

#27 opened on Jul 17, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Julia (590 stars) (59 forks)batch import
good first issuehelp wanted

Description

We really should be testing each and every feature of Latexify and currently we are not.

Test generation is made easy by a macro that we supply:

using Latexify
@Latexify.generate_test latexify("x/y")

generates a test and puts it in your clipboard to be pasted:

@test latexify("x/y") == 
raw"$\frac{x}{y}$"

One just have to make sure that the test does actually do what was expected. For markdown, one must also replace the raw with Markdown.MD and get the first newline right.

Contributor guide

Increase test coverage. · korsbo/Latexify.jl#27 | Good First Issue