Back to schedule page
In-Class Exercise
First Test

SWE 437, Spring 2018
22 January

This is an in-class individual exercise. Use your own paper and print your name on the top of the page.

Design tests for this simple method. Your tests should include input values and expected outputs.

int f (boolean X, boolean Y)
   if (X || Y)
      return 42;
      return 0;