nbgrader
nbgrader copied to clipboard
Can implementation and tests be on the same cell?
I'm trying to use nbgrader with a C kernel. Unfortunately, it has some limitations. It compiles whole cell as a single program, meaning that I can't split my work into multiple cells. Each cell has its own program. Is there a way to write both implementation and tests to the same cell?
I realized that this would be a bad idea because the cell which contains tests should be read-only. So I can't mix them but I wonder if there is anything I can do as a workaround.