Trying to identify testable things for use in autograders and automated code feedback tools...
Automated testing of computer code can be used to support learning in several ways.
For example, automated tests may be used to:
| \documentclass{minimal} | |
| \usepackage{tikz} | |
| \usetikzlibrary{backgrounds, positioning} | |
| \usepackage{xcolor} | |
| \definecolor{ACMYellow}{RGB}{255, 214, 0} | |
| \definecolor{ACMOrange}{RGB}{252, 146, 0} | |
| \definecolor{ACMRed}{RGB}{253, 27, 20} |
| // Original reference: | |
| // https://github.com/eschnett/zotero-citationcounts/issues/2#issuecomment-765117249 | |
| // To run this, open Tools > Developer > Run JavaScript in Zotero, paste the JavaScript below and then press run. | |
| // To make sure this code won't delete too much, by default it will just rehearse what will happen if you run it. | |
| // Press cancel on any dialog to stop the rehearsal. | |
| // If you are happy with the rehearsal, change 'rehearse' in the next line to 'false' and run again. | |
| const rehearse = true; // Set this to false to actually make changes | |
| const moveToTop = false; // Set this to true to move to top instead of deleting. This can help make "extra" sortable. |