Learn R Programming

AnalysisPageServer (version 1.6.2)

check.same.svgs: check.same.svgs

Description

Test that 2 SVG files have the same content

Usage

check.same.svgs(got.lines, exp.lines, ...)

Arguments

got.lines
Charvec of the lines of the SVG to test
exp.lines
Charvec of the lines of the reference SVG
...
Passed through to checkEquals (such as test name).

Value

As checkEquals

Details

Test that 2 SVG files have the same content. Most differences in whitespace are ignored, as are all "id", "class" and "type" tags.