Description Usage Arguments Value
Compares the tests from the user's modified exercise file to the tests included in the source exercise file. Since the actual tests run are those included in the source file, the results displayed for the user may not match the results they would get if their tests were run.
1 | check_test_integrity(file_lines, test_lines)
|
file_lines |
character vector of exercise file lines |
test_lines |
character vector of original test lines |
a list containing: - 'success': logical value indicating whether the check succeeded - 'msg': character value indicating the success/failure message
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.