Seite 1 von 1

Assignment 03 - Weblab Question

Verfasst: 2. Mai 2014 00:30
von franzose
Hello,

I am again experiencing some weird issues for the current assignment. I implemented a solution for the first exercise "partition" without compilation errors and when running the hidden specifications I get 4/4 as a test score .... but for the own public test the console outputs the following:
Status: RunningFailure
Test score: 0/-1
Do you have any ideas on how to solve the problem or do you know the cause? Any help will gladly be appreciated!

Re: Assignment 03 - Weblab Question

Verfasst: 2. Mai 2014 02:12
von Dennis Albrecht
This time the answer is just as simple as curious:

WebLab requires the first line of a (public) test to be:

Code: Alles auswählen

//test: Test
(This is the result of my own investigations from last semester as I also had such problems while running tests.)

And as this comment is missing in the given test, it does not compile.

(Some say, comments (should) have no effect to programs ...)

Greets Dennis

Re: Assignment 03 - Weblab Question

Verfasst: 2. Mai 2014 14:56
von franzose
Thanks, I would have never been able to find this out alone .... now it works like charm!