In order to be able to take the exam you have to upload reports about the exercises done during lectures.
Presentation
- Give all versions in order, add number to the predicate name
- initial: french_menu0,
- update 1: french_menu1,
- …
- Do not change predicates number if they do not change
- ex: french_menu1 uses appetizer0
- if you need to change appetizer0 in update n label it with n
- eg you will have only appetizer0 then appetizern
- Each version is directly followed by its tests
- /* Update n */
- Code of Version n
- /* tests of Update n */
- Separate each version by a line of %
- %... <end of line> is another way to specify comment
- ⚠️ must be on a single line
Tests
Tests are very important when programming. They give information on the quality on your code.
Always keep them.
- Make sure to test at least
- An instantiated version that should succeed
- An instantiated version that should fail
- (Partially) not fully instantiated versions
- If an update is a marginal modification of the previous update
- just test the most general case
- If there are more than 4 solutions, in the report show the first 2 and the last 2
- keep the indication given by Eclipse of the rank of solutions
- It is important to see how many solutions your program finds
Последнее изменение: Monday, 25 March 2024, 11:27