Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 666 Bytes

readme.md

File metadata and controls

40 lines (29 loc) · 666 Bytes

LinkedList

This project consits of templated version of linear linked list that mimics the style used in C++ standard template library. This project was done to learn, understand and practice concepts specifically tied to C++.

Prequisite

This project uses C++17 and cmake version 3.27

Usage

#include "LinkedList.h"
#include "iostream"

int main() {
  LinkedList<int> LList = {1, 2, 3, 4, 5};

  for (auto item : LList) {
    std::cout << item;
  }

  return 0;
}

Testing

Gtest is used as the testing framework. To build tests

mkdir build && cd build
cmake ../
cd testing
make 

To run the tests

./LinkedList_test