1/* 2 * Copyright 2020, Andrew Lindesay <apl@lindesay.co.nz> 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef LRU_CACHE_TEST_H 6#define LRU_CACHE_TEST_H 7 8 9#include <TestCase.h> 10#include <TestSuite.h> 11 12 13class LRUCacheTest : public CppUnit::TestCase { 14public: 15 LRUCacheTest(); 16 virtual ~LRUCacheTest(); 17 18 void TestAddWithOverflow(); 19 void TestAddWithOverflowWithGets(); 20 void TestRemove(); 21 22 static void AddTests(BTestSuite& suite); 23}; 24 25 26#endif // LRU_CACHE_TEST_H 27