tests/testthat/test-string.R

context('string')

# Roundtrip test of string type
blk_id <- "myBlock"

block <- so_SOBlock$new()
block$blkId <- blk_id

new_blk_id <- block$blkId

expect_identical(new_blk_id, blk_id)

Try the libsoc package in your browser

Any scripts or data that you put into this service are public.

libsoc documentation built on Feb. 3, 2022, 5:07 p.m.