Extra Credit‽

The main task in this lab involved trying to violate preconditions, rather than validating postconditions. In the IntArray class, both the copy constructor and assignment operator allege that they make deep copies of IntArray objects, meaning their contents are copied to new objects, and modifications to either the original or copy do not also happen to the other one.

In order to earn 1 point of extra credit, choose either the assignment operator or the copy constructor, and demonstrate that it does in fact make a deep copy of an IntArray.