Commit cde9f904 authored by Milwaukee Davis's avatar Milwaukee Davis
Browse files

Replace ItemTest.cpp to work with Inventory

parent 07f45375
#include <iostream> //for output
#include <vector>
#include "item.h"
#include "Inventory.h"
#include "Item.h"
using namespace std;
int main(){
Item pocketses;
pocketses.gainItem("Globe of Encoded Concurrency", 0, 2, 42);
pocketses.gainItem("Philter of Tranquility", 0, 42, 2);
Inventory pocketses;
pocketses.gainItem("Globe of Encoded Concurrency", 42, 2);
pocketses.gainItem("Philter of Tranquility", 0, 42);
pocketses.listInventory();
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment