mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 16:59:08 +00:00
18 lines
427 B
C++
18 lines
427 B
C++
#include "Test.hpp"
|
|
#include "storm/Big.hpp"
|
|
|
|
class BigData;
|
|
|
|
// Fixture for repetitive handling of BigData objects.
|
|
struct BigDataTest {
|
|
using BigDataPtr = BigData*;
|
|
|
|
BigData* num;
|
|
|
|
BigDataTest() { SBigNew(&num); }
|
|
~BigDataTest() { SBigDel(num); }
|
|
|
|
BigData** operator &() { return # }
|
|
operator BigDataPtr() const { return num; }
|
|
BigData* operator->() const { return num; }
|
|
};
|