swsoyee / r3dmol

🧬 An R package for visualizing molecular data in 3D
https://swsoyee.github.io/r3dmol/
Other
88 stars 4 forks source link

Create tests for converting lists. #7

Closed BradyAJohnston closed 3 years ago

BradyAJohnston commented 3 years ago

A test for list converting is not difficult so adding a test would be prefer. https://testthat.r-lib.org/index.html

_Originally posted by @swsoyee in https://github.com/swsoyee/r3dmol/pull/6#discussion_r567203731_

swsoyee commented 3 years ago

Hi, I have write some test samples for converting list. I add a class to converting function to consistent with the original document. Those commits just a solution and not a standard answer, for you reference only.

  1. 6aa6403774fda96f74e5ca01c67fb61335a21d43
  2. 5eeb6ea3f45b5e2bbfb7ec3da1125871f6a89177
  3. db1d2304395327d9fed9b91e17db25e9174a8985
swsoyee commented 3 years ago

Test cases of option list converting function have been added.