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