context("gmt2Gmat")
test_that("G from helper", {
expect_true(all(G@x == 1))
expect_equal(sum(G), 6)
expect_equal(G["d", "pwy1"], 0)
expect_equal(G["a", "pwy2"], 0)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.