Commit Graph

11 Commits

Author SHA1 Message Date
Luke Butler
4beebbd470 Add EN_PRESS_UNITS to EN_getoption & EN_setoption 2023-03-16 16:13:49 -04:00
Sam Hatchett
3fe11b98ee rethinking the python wrapper (#511)
* renames certain function parameter declarations and removes double pointer call from the deleteproject function

* deprecates conditonal compilation, removes python-specific headers and function renaming

* fixes tests and docs

* fixes test
2019-07-17 15:19:25 -04:00
michaeltryby
c98a43e72c Isolating bug
Not writing demand section of input file should eliminate it
2019-04-22 12:47:52 -04:00
michaeltryby
ca097a948b Update test_project.cpp
Isolating bug on gcc
2019-04-22 12:22:15 -04:00
Michael Tryby
9c4665a661 Fixes memory leak in EN_addnode() (#455)
* Fixing memory leak in EN_addnode()

* Separating test_net_builder from test_toolkit

Making test_net_builder a standalone test

* Removing BOOST_TEST_MAIN

* Work in progress
2019-04-11 18:04:20 -04:00
Michael Tryby
efd86c3ddd Fixing memory problems with test_toolkit
Fixes memory leaks and some minor refactoring.
2019-04-03 14:05:41 -04:00
Michael Tryby
f99d417301 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev-unittesting 2019-04-03 11:10:52 -04:00
Michael Tryby
568f89ff9e removing reference to strncpy 2019-04-03 11:10:36 -04:00
Michael Tryby
1b167b5caf Cleaning up include statements
Removing inclusion of malloc.h. Adding crtdbg.h
2019-03-28 09:26:26 -04:00
Michael Tryby
48facd89d0 Fixing test build on gcc 2019-03-21 18:08:05 -04:00
Michael Tryby
5687c63548 Reorganizing unit tests
Unit tests for the toolkit are consolidated into one test module with a separate test suite for related API functions.
2019-03-21 13:11:10 -04:00