Fixes
This commit is contained in:
parent
f91b45643d
commit
53aa0e34a8
24 changed files with 116 additions and 110 deletions
|
|
@ -1,17 +1,14 @@
|
|||
|
||||
#include "Tests.hpp"
|
||||
#include "Testing.hpp"
|
||||
|
||||
#include "Buffer2D.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace tp;
|
||||
|
||||
const ualni size = 1000;
|
||||
|
||||
TEST_DEF_STATIC(Simple1) {
|
||||
Buffer2D<int> buff;
|
||||
Buffer2D<int, HeapAlloc> buff;
|
||||
buff.reserve({ 4, 4 });
|
||||
buff.set( { 2, 2 }, 5);
|
||||
TEST(buff.get( { 2, 2 } ) == 5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue