Colorado State University

Recitation R20 - Program Correctness and Testing
Spring 2015

CS160: Foundations in Programming


The purpose of this lab is to:

Setup

Your TA will introduce assertions and discuss:


Let's think about how to test code

THE GOAL of this recitation is to improve you as programmers by developing the ability to test code so you can find errors and be more confident that it works as intended. We can do this writing some useful test code and/or by applying some of the mathematical reasoning skills we've developed over the semester.


Submit your R20.java file (with answers) to the RamCT drop box to receive credit.

© 2015 CS160 Colorado State University. All Rights Reserved.