mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-14 16:38:00 -05:00
Added a basic Travis integration and added configuration details for coverity scans. Travis could be refined though.
11 lines
423 B
C++
11 lines
423 B
C++
#include "CoolProp.h"
|
|
#include <iostream>
|
|
#include <stdlib.h>
|
|
using namespace CoolProp;
|
|
int main()
|
|
{
|
|
// First type (slowest, due to most string processing, exposed in DLL)
|
|
std::cout << PropsSI("Dmolar","T",298,"P",1e5,"Propane[0.5]&Ethane[0.5]") << std::endl; // Default backend is HEOS
|
|
std::cout << PropsSI("Dmolar","T",298,"P",1e5,"HEOS::Propane[0.5]&Ethane[0.5]") << std::endl;
|
|
return EXIT_SUCCESS;
|
|
} |