From 669a438205ad4eba5b7c100b10312ff30bb5118e Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 4 Apr 2018 12:51:48 +0100 Subject: Add pile tests --- src/main/game/pile.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/game/pile.h') diff --git a/src/main/game/pile.h b/src/main/game/pile.h index 654f5be..d86ea37 100644 --- a/src/main/game/pile.h +++ b/src/main/game/pile.h @@ -33,15 +33,17 @@ public: card operator[] (size_type) const; friend bool operator==(const pile&, const pile&); + friend bool operator!=(const pile&, const pile&); friend bool operator<(const pile&, const pile&); friend bool operator>(const pile&, const pile&); friend bool operator<=(const pile&, const pile&); friend bool operator>=(const pile&, const pile&); -private: + // Modify void place(card); card take(); +private: // Underlying vector std::vector pile_vec; }; -- cgit v1.2.1