8 #include <framework/utilities/Utils.h>
12 #include <gtest/gtest.h>
18 TEST(Utilities, MemSize)
23 gSystem->GetProcInfo(&meminfo);
24 long v = Utils::getVirtualMemoryKB();
25 ASSERT_TRUE(abs(v - meminfo.fMemVirtual) < 1000);
27 gSystem->GetProcInfo(&meminfo);
28 long r = Utils::getRssMemoryKB();
29 ASSERT_TRUE(abs(r - meminfo.fMemResident) < 1000);
TEST(TestgetDetectorRegion, TestgetDetectorRegion)
Test Constructors.
Abstract base class for different kinds of events.