join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
utils_test.cpp File Reference
#include <join/utils.hpp>
#include <gtest/gtest.h>
#include <sstream>
#include <thread>
Include dependency graph for utils_test.cpp:

Functions

 TEST (Utils, swap)
 test swap.
 
 TEST (Utils, compareNoCase)
 Test compareNoCase.
 
 TEST (Utils, trimLeft)
 Test trimLeft.
 
 TEST (Utils, trimRight)
 Test trimRight.
 
 TEST (Utils, trim)
 Test trim.
 
 TEST (Utils, replaceAll)
 Test replaceAll.
 
 TEST (Utils, split)
 Test split.
 
 TEST (Utils, rsplit)
 Test rsplit.
 
 TEST (Utils, getline)
 Test getline.
 
 TEST (Utils, checksum)
 Test checksum.
 
 TEST (Utils, dump)
 Test dump.
 
 TEST (Utils, randomize)
 Test randomize.
 
 TEST (Utils, benchmark)
 Test benchmark.
 
 TEST (Utils, toTimespec)
 Test toTimespec.
 
 TEST (Utils, isPow2)
 test isPow2.
 
 TEST (Utils, nextPow2)
 test nextPow2.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/16]

TEST ( Utils ,
benchmark  )

Test benchmark.

◆ TEST() [2/16]

TEST ( Utils ,
checksum  )

Test checksum.

◆ TEST() [3/16]

TEST ( Utils ,
compareNoCase  )

Test compareNoCase.

◆ TEST() [4/16]

TEST ( Utils ,
dump  )

Test dump.

◆ TEST() [5/16]

TEST ( Utils ,
getline  )

Test getline.

◆ TEST() [6/16]

TEST ( Utils ,
isPow2  )

test isPow2.

◆ TEST() [7/16]

TEST ( Utils ,
nextPow2  )

test nextPow2.

◆ TEST() [8/16]

TEST ( Utils ,
randomize  )

Test randomize.

◆ TEST() [9/16]

TEST ( Utils ,
replaceAll  )

Test replaceAll.

◆ TEST() [10/16]

TEST ( Utils ,
rsplit  )

Test rsplit.

◆ TEST() [11/16]

TEST ( Utils ,
split  )

Test split.

◆ TEST() [12/16]

TEST ( Utils ,
swap  )

test swap.

◆ TEST() [13/16]

TEST ( Utils ,
toTimespec  )

Test toTimespec.

◆ TEST() [14/16]

TEST ( Utils ,
trim  )

Test trim.

◆ TEST() [15/16]

TEST ( Utils ,
trimLeft  )

Test trimLeft.

◆ TEST() [16/16]

TEST ( Utils ,
trimRight  )

Test trimRight.