| 90 | # include <vector> |
| 91 | # include <valarray> |
| 92 | bool ForTwo(void) |
| 93 | { bool ok = true; |
| 94 | // Run with BaseVector equal to three different cases |
| 95 | // all of which are Simple Vectors with elements of type double. |
| 96 | ok &= ForTwoCases< CppAD::vector <double>, std::vector<size_t> >(); |
| 97 | ok &= ForTwoCases< std::vector <double>, std::vector<size_t> >(); |
| 98 | ok &= ForTwoCases< std::valarray <double>, std::vector<size_t> >(); |
| 99 | |
| 100 | // Run with SizeVector_t equal to two other cases |
| 101 | // which are Simple Vectors with elements of type size_t. |
| 102 | ok &= ForTwoCases< std::vector <double>, CppAD::vector<size_t> >(); |
| 103 | ok &= ForTwoCases< std::vector <double>, std::valarray<size_t> >(); |
| 104 | |
| 105 | return ok; |
| 106 | } |
| 107 | // END C++ |
nothing calls this directly
no outgoing calls
no test coverage detected