Skip to content

Commit

Permalink
test(utils): get_granges_string
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeapen committed Nov 29, 2024
1 parent d470062 commit bd79f58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/test-granges.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
options("iscream.threads" = 1)

regions <- c("chr1:1-6", "chr1:7-10", "chr1:11-14")
gr <- GenomicRanges::GRanges(regions)

test_that("Test GRanges to string", {
expect_equal(get_granges_string(gr), regions)
})


0 comments on commit bd79f58

Please sign in to comment.