I am getting a comparison failure that I don't quite understand. It seems as if the comparison is trying to compare the values before they are changed by the program. Is there a problem with the code?
The highlighted line in the test script is the command that will be executed next.
Your failure occurred on the first "output" command, when in was 0 and the expected value of out was 1.
[edit: Oops -- I didn't see right side of your image with the code.]
Your HDL is correct.
The most likely problem is that your edited code is not in the same folder as the Not.tst script you loaded. Can you see your edited code if you scroll down the HDL window?