IOSS 2.0
Loading...
Searching...
No Matches
Utst_sort.C File Reference
#include "Ioss_Sort.h"
#include <cassert>
#include <catch2/catch_test_macros.hpp>
#include <catch2/generators/catch_generators.hpp>
#include <fmt/core.h>
#include <iostream>
#include <random>
#include <stddef.h>
#include <stdint.h>
#include <vector>
Include dependency graph for Utst_sort.C:

Namespaces

namespace  anonymous_namespace{Utst_sort.C}
 

Functions

std::mt19937_64 anonymous_namespace{Utst_sort.C}::rng (rd())
 
template<typename INT >
bool anonymous_namespace{Utst_sort.C}::verify_sorted (const std::vector< INT > &v)
 
std::vector< int64_t > anonymous_namespace{Utst_sort.C}::generate_vector (int dist, size_t n, size_t m)
 
 TEST_CASE ("empty")
 
 TEST_CASE ("single-element")
 
 TEST_CASE ("sort")
 

Variables

const int anonymous_namespace{Utst_sort.C}::sawtooth = 1
 
const int anonymous_namespace{Utst_sort.C}::do_rand = 2
 
const int anonymous_namespace{Utst_sort.C}::stagger = 3
 
const int anonymous_namespace{Utst_sort.C}::plateau = 4
 
const int anonymous_namespace{Utst_sort.C}::shuffle = 5
 
std::random_device anonymous_namespace{Utst_sort.C}::rd
 

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "empty" )

◆ TEST_CASE() [2/3]

TEST_CASE ( "single-element" )

◆ TEST_CASE() [3/3]

TEST_CASE ( "sort" )