From 71f2388f5d83dbce945fa05138c5a9ce4fdddc69 Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Wed, 31 Jan 2024 17:59:25 +0100 Subject: [PATCH] Expose #63 --- ball.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ball.cpp b/ball.cpp index 7615216..66eb033 100644 --- a/ball.cpp +++ b/ball.cpp @@ -35,4 +35,10 @@ void test_ball() b.set_y(y); assert(b.get_y() == y); } + // 63: Can compare two balls + { + const ball a; + const ball b; + assert(a == b); + } }