I've just finished this assignments but I'm not sure what to submit. In some questions they are clear and say "just submit the function" but in some they are quite open.
Should I submit demo output from the test methods? What are you all submitting?
It was assignment 2 but yes, I should have been more specific. And I meant for the questions where the question is "write a function". In most cases they were specific saying "write a function and a test" where I assumed that you had to submit both of those and the results of the test. But for the other questions I'm wondering if we just submit the function we wrote or also output from any tests we wrote to confirm that our code was working.
Well if this'll serve as confirmation .. i e-mailed the lecturers on this very topic and he mentioned that if the question states that one
has to write a function then that is only what is required.Anything other than that one has to include the main program as well.