File: TestSetup.cpp

package info (click to toggle)
highs 1.10.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,728 kB
  • sloc: cpp: 127,429; ansic: 12,439; python: 3,824; f90: 1,104; cs: 960; lisp: 138; makefile: 51; perl: 46; sh: 38
file content (12 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#include "HCheckConfig.h"
#include "catch.hpp"
#include "lp_data/HighsLp.h"
#include "lp_data/HighsStatus.h"

const bool dev_run = false;

// No commas in test case name.
TEST_CASE("correct-print-status", "[highs_data]") {
  std::string str = highsStatusToString(HighsStatus::kOk);
  REQUIRE(str == "OK");
}