Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
alg_test.cpp File Reference
#include <stdlib.h>
#include <rw_alg_test.h>
Include dependency graph for alg_test.cpp:

Go to the source code of this file.

Macros

#define _RWSTD_TEST_SRC
 

Functions

_TEST_EXPORT int gen_seq ()
 
_TEST_EXPORT int gen_seq_2lists ()
 
_TEST_EXPORT int gen_subseq ()
 
_TEST_EXPORT int gen_rnd ()
 
_TEST_EXPORT unsigned ilog2 (size_t n)
 
_TEST_EXPORT unsigned ilog10 (size_t n)
 

Macro Definition Documentation

◆ _RWSTD_TEST_SRC

#define _RWSTD_TEST_SRC

alg_test.cpp - definitions of testsuite helpers

$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-2005 Rogue Wave Software.

Definition at line 30 of file alg_test.cpp.

Function Documentation

◆ gen_rnd()

_TEST_EXPORT int gen_rnd ( )

Definition at line 66 of file alg_test.cpp.

◆ gen_seq()

_TEST_EXPORT int gen_seq ( )

alg_test.h - common definitions for algorithms tests

$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-2005 Rogue Wave Software.

Definition at line 38 of file alg_test.cpp.

◆ gen_seq_2lists()

_TEST_EXPORT int gen_seq_2lists ( )

Definition at line 47 of file alg_test.cpp.

◆ gen_subseq()

_TEST_EXPORT int gen_subseq ( )

Definition at line 56 of file alg_test.cpp.

◆ ilog10()

_TEST_EXPORT unsigned ilog10 ( size_t  n)

Definition at line 85 of file alg_test.cpp.

◆ ilog2()

_TEST_EXPORT unsigned ilog2 ( size_t  n)

Definition at line 73 of file alg_test.cpp.