As I'm responsible for a small development department, I regularly do interviews including written tests. If one of the candidates would ask me if they could do it on their notebook, I would probably say no, as it sort of defeats the purpose.
However, I don't think bringing your notebook to show off some of your work is a bad idea.