test_that( "works as expected", {
expect_equal( left('leftmidright',4) , 'left' )
expect_equal( left('four',5), 'four' )
expect_equal( right('leftmidright',5) , 'right' )
expect_equal( right('four',5), 'four' )
expect_equal( mid('leftmidright', 5, 3 ) , 'mid' )
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.