Created
October 2, 2015 12:21
-
-
Save AndyNovo/42de909c79abc34c218a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <cassert> | |
using namespace std; | |
class Diva { | |
//Your Code Here | |
//End Code Here | |
}; | |
int main() { | |
Diva* cher = new Diva("Sonny", "I Got You Babe"); | |
assert(cher->spouse == "Sonny"); | |
assert((*cher).TopHit() == "I Got You Babe"); | |
delete cher; | |
cout << "All Tests Pass" << endl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment