Revision 4:d8724c5a6d83 TestInputExtremes.cpp
| TestInputExtremes.cpp | ||
|---|---|---|
| 49 | 49 |
#include <cmath> |
| 50 | 50 |
|
| 51 | 51 |
Tester::TestRegistrar<TestNormalInput> |
| 52 |
TestNormalInput::m_registrar("Normal input");
|
|
| 52 |
TestNormalInput::m_registrar("C1 Normal input");
|
|
| 53 | 53 |
|
| 54 | 54 |
Tester::TestRegistrar<TestNoInput> |
| 55 |
TestNoInput::m_registrar("Empty input");
|
|
| 55 |
TestNoInput::m_registrar("C2 Empty input");
|
|
| 56 | 56 |
|
| 57 | 57 |
Tester::TestRegistrar<TestShortInput> |
| 58 |
TestShortInput::m_registrar("Short input");
|
|
| 58 |
TestShortInput::m_registrar("C3 Short input");
|
|
| 59 | 59 |
|
| 60 | 60 |
Tester::TestRegistrar<TestSilentInput> |
| 61 |
TestSilentInput::m_registrar("Absolutely silent input");
|
|
| 61 |
TestSilentInput::m_registrar("C4 Absolutely silent input");
|
|
| 62 | 62 |
|
| 63 | 63 |
Tester::TestRegistrar<TestTooLoudInput> |
| 64 |
TestTooLoudInput::m_registrar("Input beyond expected +/-1 range");
|
|
| 64 |
TestTooLoudInput::m_registrar("C5 Input beyond expected +/-1 range");
|
|
| 65 | 65 |
|
| 66 | 66 |
Tester::TestRegistrar<TestRandomInput> |
| 67 |
TestRandomInput::m_registrar("Random input");
|
|
| 67 |
TestRandomInput::m_registrar("C6 Random input");
|
|
| 68 | 68 |
|
| 69 | 69 |
Test::Results |
| 70 | 70 |
TestNormalInput::test(string key) |
Also available in: Unified diff