OPTK  0.1.2
Toolkit for global optimisation algorithms
Functions
types_test.hpp File Reference

Defines some tests for optk types. More...

#include <assert.h>
#include <iostream>
#include <memory>
#include <optk/types.hpp>
#include <tests/testutils.hpp>

Go to the source code of this file.

Functions

void run_type_tests ()
 

Detailed Description

Defines some tests for optk types.

Copyright (C) 2020 Maxime Robeyns maxim.nosp@m.erob.nosp@m.eyns@.nosp@m.gmai.nosp@m.l.com

Written for the ACRC, University of Bristol

Licensed under the Educational Community 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.osedu.org/licenses/ECL-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.

Function Documentation

◆ run_type_tests()

void run_type_tests ( )

Runs all the tests for the types. Exits upon error.