uclahs-cds / package-CancerEvolutionVisualization

Publication Quality Phylogenetic Tree Plots
https://cran.r-project.org/web/packages/CancerEvolutionVisualization/
GNU General Public License v2.0
2 stars 0 forks source link

Extend package testing #3

Closed dan-knight closed 2 years ago

dan-knight commented 2 years ago

Added functions for deep comparison of the values in plot Grobs. The tests were also changed to utilize this comparison. Some minor changes to the plotting functions were needed to make testing more consistent (mainly naming the Grobs within the plot for easier lookup).

Testing Results

All old and new test cases pass. The new test case compares a saved plot to a newly generated plot (with slight differences in position allowed).