Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
simplex_allocation_test.cc File Reference

Simplex when an allocation of prepare_linear_program() fails: the program builds no tableau, still takes restrictions, and a new preparation solves it. More...

#include <gtest/gtest.h>
#include "allocation_failure.H"
#include <cstddef>
#include <new>
#include <string>
#include <Simplex.H>
Include dependency graph for simplex_allocation_test.cc:

Go to the source code of this file.

Functions

 TEST (SimplexAllocation, AFailedPreparationStillTakesRestrictions)
 

Detailed Description

Simplex when an allocation of prepare_linear_program() fails: the program builds no tableau, still takes restrictions, and a new preparation solves it.

This program replaces the global operator new, so that a test can make an allocation fail.

Definition in file simplex_allocation_test.cc.

Function Documentation

◆ TEST()