Cbeam
Loading...
Searching...
No Matches
test_buffer.cpp File Reference
#include <cbeam/container/buffer.hpp>
#include <gtest/gtest.h>
#include <cstddef>
#include <memory>
Include dependency graph for test_buffer.cpp:

Functions

 TEST (BufferTest, ConstructorAllocatesMemory)
 
 TEST (BufferTest, CopyConstructorCreatesDeepCopy)
 
 TEST (BufferTest, CopyAssignmentOperatorCreatesDeepCopy)
 
 TEST (BufferTest, AppendIncreasesSizeCorrectly)
 
 TEST (BufferTest, ResetDeallocatesMemory)
 
 TEST (BufferTest, SwapSwapsContents)
 

Function Documentation

◆ TEST() [1/6]

TEST ( BufferTest ,
AppendIncreasesSizeCorrectly  )

◆ TEST() [2/6]

TEST ( BufferTest ,
ConstructorAllocatesMemory  )

◆ TEST() [3/6]

TEST ( BufferTest ,
CopyAssignmentOperatorCreatesDeepCopy  )

◆ TEST() [4/6]

TEST ( BufferTest ,
CopyConstructorCreatesDeepCopy  )

◆ TEST() [5/6]

TEST ( BufferTest ,
ResetDeallocatesMemory  )

◆ TEST() [6/6]

TEST ( BufferTest ,
SwapSwapsContents  )