From 373e1df6019d99b516bd09871e1a1129492d426e Mon Sep 17 00:00:00 2001 From: Muhammad Junaid Khalid Date: Sat, 5 Oct 2024 16:44:09 +0500 Subject: [PATCH] Update greedy_algorithms/digit_separation.cpp Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com> --- greedy_algorithms/digit_separation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/greedy_algorithms/digit_separation.cpp b/greedy_algorithms/digit_separation.cpp index e9e0969b9..7f307e996 100644 --- a/greedy_algorithms/digit_separation.cpp +++ b/greedy_algorithms/digit_separation.cpp @@ -138,6 +138,10 @@ void tests(){ reverseOrder = ds.digitSeparationReverseOrder(number); assert(reverseOrder == expectedReverse); +/** + * @brief main function + * @return 0 on successful exit + */ int main() { tests(); // run self test implementation