mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-11 13:23:52 +00:00
Fixed test_main declarations.
[SVN r14863]
This commit is contained in:
parent
e816fcd969
commit
5099bc9170
@ -45,6 +45,6 @@ void access(Array& A, const const_array_tag&) {
|
||||
++tests_run;
|
||||
}
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
return run_generative_tests();
|
||||
}
|
||||
|
@ -56,6 +56,6 @@ void access(Array&, const const_array_tag&) {
|
||||
}
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
return run_generative_tests();
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "boost/test/test_tools.hpp"
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
typedef boost::multi_array<int,3> array;
|
||||
|
||||
typedef array::iterator iterator1;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "boost/test/test_tools.hpp"
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
typedef boost::multi_array<int,3> array;
|
||||
|
||||
typedef array::reverse_iterator riterator1;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "boost/test/test_tools.hpp"
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
typedef boost::multi_array_ref<int,3> array_ref;
|
||||
|
||||
typedef array_ref::iterator iterator1;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include "boost/test/test_tools.hpp"
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
typedef boost::multi_array_ref<int,3> array_ref;
|
||||
|
||||
typedef array_ref::reverse_iterator riterator1;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array_ref<int,ndims> array_ref;
|
||||
|
@ -31,7 +31,7 @@
|
||||
// Since generative-tests uses the Boost.Test framework, you must
|
||||
// define at least the following:
|
||||
//
|
||||
// int test_main(int,char**) { return run_generative_tests(); }
|
||||
// int test_main(int,char*[]) { return run_generative_tests(); }
|
||||
//
|
||||
#include "boost/multi_array.hpp"
|
||||
|
||||
|
@ -27,7 +27,7 @@ bool operator==(const boost::detail::multi_array::
|
||||
}
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
typedef boost::detail::multi_array::index_range<int,std::size_t> range;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
typedef boost::multi_array<double, 3> array;
|
||||
typedef boost::multi_array_ref<double, 3> array_ref;
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <cstddef>
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
typedef boost::detail::multi_array::index_range<int,std::size_t> range;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "boost/type.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
typedef boost::multi_array<int,ndims> array;
|
||||
|
@ -137,6 +137,6 @@ void access(Array& A, const const_array_tag&) {
|
||||
}
|
||||
|
||||
|
||||
int test_main(int,char**) {
|
||||
int test_main(int,char*[]) {
|
||||
return run_generative_tests();
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "boost/array.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
const int ndims=3;
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "boost/multi_array/storage_order.hpp"
|
||||
|
||||
int
|
||||
test_main(int,char**) {
|
||||
test_main(int,char*[]) {
|
||||
|
||||
using namespace boost;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
int
|
||||
test_main(int,char**)
|
||||
test_main(int,char*[])
|
||||
{
|
||||
typedef boost::multi_array<double, 3> array;
|
||||
typedef array::array_view<3>::type array_view;
|
||||
|
Loading…
x
Reference in New Issue
Block a user