Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Marmoset A3 Test: Je_6_Assignable_ToSubtype

34 views
Skip to first unread message

zma...@gmail.com

unread,
Mar 15, 2014, 4:37:15 PM3/15/14
to
Hey,

The Marmoset A3 Test 'Je_6_Assignable_ToSubtype' doesn't actually test what it claims. Main.java contains a local variable without an initializer which is not permitted in Joos. This test won't actually check assignability as it claims.

olh...@uwaterloo.ca

unread,
Mar 17, 2014, 5:08:34 PM3/17/14
to
You are correct that this test contains two errors, and your compiler
might detect one error before it reaches the other.

The test case should fail either way, so it should not affect your mark
on the assignment.

I have made a note to fix this for future offerings of the course, so
that the test will correctly test what is intended. I will not change
the test this term to avoid the unlikely possibility of reducing the
mark of some group that has already passed the test.

0 new messages