From 1fb86dbe99ce5fd785f088d2bbd99b2e2a38968d Mon Sep 17 00:00:00 2001 From: Muhammad Junaid Khalid Date: Sat, 5 Oct 2024 16:41:43 +0500 Subject: [PATCH] Update greedy_algorithms/digit_separation.cpp Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com> --- greedy_algorithms/digit_separation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/greedy_algorithms/digit_separation.cpp b/greedy_algorithms/digit_separation.cpp index e2eb09469..0ed2c8ca9 100644 --- a/greedy_algorithms/digit_separation.cpp +++ b/greedy_algorithms/digit_separation.cpp @@ -138,6 +138,8 @@ void tests(){ assert(forwardOrder == expectedForward); } + reverseOrder = ds.digitSeparationReverseOrder(number); + assert(reverseOrder == expectedReverse); int main() { tests();