First, build a graph of knowledge. Which concepts depend on which others. Make sure the progression will be linear with no circular ideas.
Don’t need to map out the whole thing but you need a decent idea of what will come after what.
Design a way to distinguish whether it’s understood or not. Use very simple examples but sufficient to tell if the person got it wrong.