Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created October 2, 2015 12:21
Show Gist options
  • Save AndyNovo/42de909c79abc34c218a to your computer and use it in GitHub Desktop.
Save AndyNovo/42de909c79abc34c218a to your computer and use it in GitHub Desktop.
#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