{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Test Jousting Trial

Test Jousting Trial - ● Submit test cases that respect...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 4536 - Test Jousting Trial CS 4536 Test Jousting Trial This is an ungraded assignment designed to let you get the feel for the test jousting interface before it counts. Access test jousting as described in the jousting instruction page. The test assignment is called "trial assignment". For this assignment, implement and test two functions: 1. square : number -> number squares a number 2. digit? : number -> boolean determines whether the input is between 0 and 9, inclusive. Throws an exception with message "expected a number" if the input is not a number. Experiment with the test jousting process. In particular: Submit test cases that violate the expected behavior of these functions (using test and test/exn)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ● Submit test cases that respect the expected behavior of these functions (using test and test/exn) ● Submit correct implementations of these functions ● Submit incorrect implementations of these functions This should give you a feel for the emails, error messages, test suite format, and other details you'll want to be familiar with before we start using the jousting system for real. file:///C|/Documents%20and%20Settings/Linda%20Grauer/My. ..20Institute%20(WPI)-H3/CS4536/Homework/joust-trial.html [2/6/2008 11:59:00 AM]...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online