library(epilepsyontologysimilarities)
context("test_cosine")
test_that("Test cosine if it calculates the correct cosine coefficient", {
expect_that(cosine(1,2,3), equals(1 - 0.4082483))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.