|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <algorithm>#include <cstddef>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | Less< T > |
| struct | SetDifferenceBase |
| struct | SetDifference< InputIterator1, InputIterator2, OutputIterator > |
Macros | |
| #define | TEST(src1, src2, res) |
Functions | |
| _RWSTD_NAMESPACE (std) | |
| void | test_set_difference (int line, const char *src1, std::size_t nsrc1, const char *src2, std::size_t nsrc2, const char *res, std::size_t ndst, bool predicate, const SetDifferenceBase &alg) |
| void | test_set_difference (const SetDifferenceBase &alg, bool predicate) |
| template<class InputIterator1 , class InputIterator2 , class OutputIterator > | |
| void | gen_set_difference_test (const InputIterator1 &, const InputIterator2 &, const OutputIterator &, bool predicate) |
| template<class InputIterator1 , class InputIterator2 > | |
| void | gen_set_difference_test (const InputIterator1 &it1, const InputIterator2 &it2, bool predicate) |
| template<class InputIterator1 > | |
| void | gen_set_difference_test (const InputIterator1 &it1, bool predicate) |
| void | gen_set_difference_test (bool predicate) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_no_predicate |
| int | rw_opt_no_input_iter |
| int | rw_opt_no_output_iter |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| #define TEST | ( | src1, | |
| src2, | |||
| res | |||
| ) |
| _RWSTD_NAMESPACE | ( | std | ) |
25.set.difference.cpp - test exercising lib.set.difference
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 1994-2006 Rogue Wave Software.
Definition at line 38 of file 25.set.difference.cpp.
| void gen_set_difference_test | ( | bool | predicate | ) |
Definition at line 392 of file 25.set.difference.cpp.
| void gen_set_difference_test | ( | const InputIterator1 & | , |
| const InputIterator2 & | , | ||
| const OutputIterator & | , | ||
| bool | predicate | ||
| ) |
Definition at line 341 of file 25.set.difference.cpp.
| void gen_set_difference_test | ( | const InputIterator1 & | it1, |
| bool | predicate | ||
| ) |
Definition at line 373 of file 25.set.difference.cpp.
| void gen_set_difference_test | ( | const InputIterator1 & | it1, |
| const InputIterator2 & | it2, | ||
| bool | predicate | ||
| ) |
Definition at line 354 of file 25.set.difference.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 445 of file 25.set.difference.cpp.
| void test_set_difference | ( | const SetDifferenceBase & | alg, |
| bool | predicate | ||
| ) |
Definition at line 275 of file 25.set.difference.cpp.
| void test_set_difference | ( | int | line, |
| const char * | src1, | ||
| std::size_t | nsrc1, | ||
| const char * | src2, | ||
| std::size_t | nsrc2, | ||
| const char * | res, | ||
| std::size_t | ndst, | ||
| bool | predicate, | ||
| const SetDifferenceBase & | alg | ||
| ) |
Definition at line 144 of file 25.set.difference.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 335 of file 25.set.difference.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 334 of file 25.set.difference.cpp.
| int rw_opt_no_input_iter |
Definition at line 332 of file 25.set.difference.cpp.
| int rw_opt_no_output_iter |
Definition at line 333 of file 25.set.difference.cpp.
| int rw_opt_no_predicate |
Definition at line 331 of file 25.set.difference.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 336 of file 25.set.difference.cpp.