1/*
2 * Copyright 2012, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef NATURAL_COMPARE_TEST_H
6#define NATURAL_COMPARE_TEST_H
7
8
9#include <TestCase.h>
10#include <TestSuite.h>
11
12
13class Sample;
14
15
16class NaturalCompareTest : public CppUnit::TestCase {
17public:
18								NaturalCompareTest();
19	virtual						~NaturalCompareTest();
20
21			void				TestSome();
22
23	static	void				AddTests(BTestSuite& suite);
24
25private:
26			void				_RunTests(const Sample* samples, int count);
27			void				_RunTest(const char* a, const char* b,
28									int expectedResult);
29			int					_Normalize(int result);
30};
31
32
33#endif	// NATURAL_COMPARE_TEST_H
34