tests/testthat/test-extract_tidy_stats_from_xml.R

test_that("extract tidy df with pdb example", {
  xml2::read_xml("2abl_A_pdb.xml") %>%
    extract_tidy_stats_from_xml() %>%
    expect_s3_class("tbl_df")
})

test_that("extract tidy df with swissprot example", {
  xml2::read_xml("2abl_A_swissprot.xml") %>%
    extract_tidy_stats_from_xml() %>%
    expect_s3_class("tbl_df")
})
currocam/toolkit4pySCA documentation built on April 7, 2022, 8:17 p.m.