mirror of
https://github.com/vgough/encfs.git
synced 2024-12-03 05:13:35 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
15 lines
241 B
C
15 lines
241 B
C
|
|
#ifndef UTILITIES_TEST_H_
|
|
#define UTILITIES_TEST_H_
|
|
|
|
#include "test.h"
|
|
|
|
TEST(UtilitiesTest, SafeDelete) {
|
|
int* i = new int(12);
|
|
ASSERT_TRUE(i != nullptr);
|
|
safeDelete(i);
|
|
ASSERT_EQ(nullptr, i);
|
|
}
|
|
|
|
#endif // UTILITIES_TEST_H_
|