join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
traits_test.cpp File Reference
#include <join/traits.hpp>
#include <gtest/gtest.h>
#include <mutex>
Include dependency graph for traits_test.cpp:

Functions

 TEST (Traits, identity)
 test identity trait.
 
 TEST (Traits, match)
 test match trait.
 
 TEST (Traits, find_index)
 test find_index trait.
 
 TEST (Traits, find_element)
 test find_element trait.
 
 TEST (Traits, is_alternative)
 test is_alternative trait.
 
 TEST (Traits, is_index)
 test is_index trait.
 
 TEST (Traits, count)
 test count trait.
 
 TEST (Traits, unique)
 test unique trait.
 
 TEST (Traits, all)
 test all trait.
 
 TEST (Traits, are_copy_constructible)
 test are_copy_constructible trait.
 
 TEST (Traits, are_move_constructible)
 test are_move_constructible trait.
 
 TEST (Traits, are_copy_assignable)
 test are_copy_assignable trait.
 
 TEST (Traits, are_move_assignable)
 test are_move_assignable trait.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/13]

TEST ( Traits ,
all  )

test all trait.

◆ TEST() [2/13]

TEST ( Traits ,
are_copy_assignable  )

test are_copy_assignable trait.

◆ TEST() [3/13]

TEST ( Traits ,
are_copy_constructible  )

test are_copy_constructible trait.

◆ TEST() [4/13]

TEST ( Traits ,
are_move_assignable  )

test are_move_assignable trait.

◆ TEST() [5/13]

TEST ( Traits ,
are_move_constructible  )

test are_move_constructible trait.

◆ TEST() [6/13]

TEST ( Traits ,
count  )

test count trait.

◆ TEST() [7/13]

TEST ( Traits ,
find_element  )

test find_element trait.

◆ TEST() [8/13]

TEST ( Traits ,
find_index  )

test find_index trait.

◆ TEST() [9/13]

TEST ( Traits ,
identity  )

test identity trait.

MIT License

Copyright (c) 2021 Mathieu Rabine

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

◆ TEST() [10/13]

TEST ( Traits ,
is_alternative  )

test is_alternative trait.

◆ TEST() [11/13]

TEST ( Traits ,
is_index  )

test is_index trait.

◆ TEST() [12/13]

TEST ( Traits ,
match  )

test match trait.

◆ TEST() [13/13]

TEST ( Traits ,
unique  )

test unique trait.