Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $(BUILD_DIR)/tests: $(PROBLEM_OBJS) $(TEST_OBJS) $(MAIN_OBJ)
# Run tests
run_tests: $(BUILD_DIR)/tests
@echo "$(GREEN)Running all tests...$(NC)"
$(BUILD_DIR)/tests
@$(BUILD_DIR)/tests

# Formatting
format:
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/easy_tests/test_easy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ void test_easy()
{
testTwoSum();

std::cout << "All easy tests passed!" << std::endl;
std::cout << "\033[0;33mAll easy tests passed\033[0m" << std::endl;
}
2 changes: 1 addition & 1 deletion cpp/tests/easy_tests/two_sum/test_two_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ void testTwoSum()
test_two();
test_three();

std::cout << "All two sum tests passed!" << std::endl;
std::cout << "Two sum tests passed" << std::endl;
}
3 changes: 1 addition & 2 deletions cpp/tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ int main()
test_medium();
test_hard();

std::cout << "All tests passed!" << std::endl;

std::cout << "\033[1;32m[All tests passed]\033[0m" << std::endl;
return 0;
}