function_n_test.cpp:

function_test.cpp:
	- Removed silly ';;' constructs: MSVC seems to handle the updated
	  code much better.

regression.cfg:
	- Fixed typos


[SVN r10482]
This commit is contained in:
Douglas Gregor
2001-06-29 19:35:40 +00:00
parent 73f380d5ac
commit db362782ac
3 changed files with 9 additions and 9 deletions

View File

@ -130,7 +130,7 @@ test_zero_args()
// Construction from another function (that is empty) // Construction from another function (that is empty)
v1.clear(); v1.clear();
func_void_type v2(v1);; func_void_type v2(v1);
BOOST_TEST(!v2); BOOST_TEST(!v2);
// Assignment to an empty function // Assignment to an empty function
@ -227,10 +227,10 @@ test_zero_args()
BOOST_TEST(global_int == 5); BOOST_TEST(global_int == 5);
global_int = 0; global_int = 0;
v2(); v2();
BOOST_TEST(global_int == 5);; BOOST_TEST(global_int == 5);
// Construct a function given another function containing a function // Construct a function given another function containing a function
func_void_type v3(v1);; func_void_type v3(v1);
// Invocation of a function // Invocation of a function
global_int = 0; global_int = 0;
@ -552,7 +552,7 @@ test_emptiness()
BOOST_TEST(f2.empty()); BOOST_TEST(f2.empty());
function0<double> f3; function0<double> f3;
f3 = f2;; f3 = f2;
BOOST_TEST(f3.empty()); BOOST_TEST(f3.empty());
} }

View File

@ -130,7 +130,7 @@ test_zero_args()
// Construction from another function (that is empty) // Construction from another function (that is empty)
v1.clear(); v1.clear();
func_void_type v2(v1);; func_void_type v2(v1);
BOOST_TEST(!v2); BOOST_TEST(!v2);
// Assignment to an empty function // Assignment to an empty function
@ -227,10 +227,10 @@ test_zero_args()
BOOST_TEST(global_int == 5); BOOST_TEST(global_int == 5);
global_int = 0; global_int = 0;
v2(); v2();
BOOST_TEST(global_int == 5);; BOOST_TEST(global_int == 5);
// Construct a function given another function containing a function // Construct a function given another function containing a function
func_void_type v3(v1);; func_void_type v3(v1);
// Invocation of a function // Invocation of a function
global_int = 0; global_int = 0;
@ -552,7 +552,7 @@ test_emptiness()
BOOST_TEST(f2.empty()); BOOST_TEST(f2.empty());
function<double> f3; function<double> f3;
f3 = f2;; f3 = f2;
BOOST_TEST(f3.empty()); BOOST_TEST(f3.empty());
} }

View File

@ -1,7 +1,7 @@
// Boost.Function regression test configuration file // Boost.Function regression test configuration file
// From the boost/status directory, run // From the boost/status directory, run
// ./regressions --tests ../libs/function/test/regression.cfg --o function.html // ./regression --tests ../libs/function/test/regression.cfg -o function.html
run libs/function/test/allocator_test.cpp run libs/function/test/allocator_test.cpp