admin

Example of Test Driven Development with C++ and Google Test

To develop a software based on “Test Driven Development” one should follow the following steps:

so let say we want to develop a binary search tree,  here I’m using Google Test. Step 1, Write enough failing Test Code so the first step would be something like this:

Step 2, Write Production code to …

Example of Test Driven Development with C++ and Google Test Read More »

Dijkstra’s algorithm with C++

Dijkstra’s algorithm is an algorithm for finding the shortest path in a graph. First drawing the graph:

 

ref [1]