Skip to content
Open
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
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@

This is a simple command-line to-do application written in C++. It allows users to manage their tasks efficiently through a straightforward interface.

## Features

- Add tasks to your to-do list
- Remove tasks from your to-do list
- List all tasks
- Load and save tasks to a file

## Quick Start

1. Clone the repository:
```
git clone https://github.com/yourusername/cpp-todo-cli.git
Expand Down Expand Up @@ -38,4 +31,5 @@ We welcome contributions! Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
#Contributor : Tanish Parekh
6 changes: 3 additions & 3 deletions tests/todo_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ void testRemoveTask() {

void testListTasks() {
TodoList todoList;
todoList.addTask("Test task 1");
todoList.addTask("Test task 2");
todoList.addTask("Test task 1");
std::vector<std::string> tasks = todoList.getTasks();
assert(tasks.size() == 2);
assert(tasks[0] == "Test task 1");
assert(tasks[1] == "Test task 2");
assert(tasks[0] == "Test task 2");
assert(tasks[1] == "Test task 1");
}

int main() {
Expand Down