ArcdpsExtension
 
Loading...
Searching...
No Matches
EventSequencerTests.cpp File Reference
#include "arcdps_structs_slim.h"
#include "EventSequencer.h"
#include <algorithm>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <gtest/gtest.h>
#include <limits>
#include <mutex>
#include <random>
#include <ranges>
#include <string>
#include <thread>
#include <utility>
#include <vector>
Include dependency graph for EventSequencerTests.cpp:

Classes

class  EventSequencerTests
 

Functions

std::vector< std::byte > random_bytes (std::size_t count, std::mt19937_64 &rng)
 
template<typename T >
T * random_value (std::mt19937_64 &rng)
 
bool operator== (const decltype(EventSequencer::Event::Ev)&lhs, const cbtevent &rhs)
 
bool operator== (const EventSequencer::Event::Agent &lhs, const ag &rhs)
 
 TEST_F (EventSequencerTests, SingleThreaded)
 
 TEST_F (EventSequencerTests, SingleThreadedZero)
 
 TEST_F (EventSequencerTests, MultiThreaded)
 

Function Documentation

◆ operator==() [1/2]

bool operator== ( const decltype(EventSequencer::Event::Ev)&  lhs,
const cbtevent rhs 
)

◆ operator==() [2/2]

bool operator== ( const EventSequencer::Event::Agent lhs,
const ag rhs 
)

◆ random_bytes()

std::vector< std::byte > random_bytes ( std::size_t  count,
std::mt19937_64 &  rng 
)

◆ random_value()

template<typename T >
T * random_value ( std::mt19937_64 &  rng)

◆ TEST_F() [1/3]

TEST_F ( EventSequencerTests  ,
MultiThreaded   
)

◆ TEST_F() [2/3]

TEST_F ( EventSequencerTests  ,
SingleThreaded   
)

◆ TEST_F() [3/3]

TEST_F ( EventSequencerTests  ,
SingleThreadedZero   
)