34 Commits

Author SHA1 Message Date
Marios S. Kyriakou 080b529c19 replace 2.2 with 2.3 in the files. 2025-05-10 14:21:32 +03: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 df4e62b550 Adding comment test 2019-03-22 15:34:34 -04:00
Michael Tryby c9903620cb Fine tuning linking strategy
static linking on Windows (MSVC and mingw) dyn linking everywhere else.
2019-03-22 09:55:34 -04:00
Michael Tryby 66c274c343 Adding BOOST_TEST_MAIN for gcc build 2019-03-22 09:14: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
Michael Tryby c7d533c6e4 Adding tests for gettitle and saveinpfile 2019-02-28 08:11:59 -05:00
Lew Rossman dd376692ad Floating pt. args in thread-safe API changed to doubles (Issue #365) 2019-01-09 15:14:10 -05:00
Michael Tryby b0c7714d72 Keeping legacy api in epanet2.h epanet2.c and moving new api to epanet2_2.h epanet.c 2018-11-29 12:51:47 -05:00
Michael Tryby 333e87b026 Fixing tests 2018-11-29 12:20:13 -05:00
Lew Rossman 24d90a530d Replaced EN_ProjectHandle with EN_Project in unit tests 2018-11-27 15:16:12 -05:00
Michael Tryby b34c2ede81 Fixing build error on Travis 2018-11-16 14:06:29 -05:00
Michael Tryby a4c9973d47 Adding test_save_reopen, minor refactoring. 2018-11-16 13:49:45 -05:00
Elad Salomons 7957864d62 Another fix for unit test 2018-09-03 14:10:09 +03:00
Elad Salomons c78aa9df99 Fix for unit test 2018-09-03 13:52:37 +03:00
Elad Salomons 1b23f91f72 Unit test for EN_addcontrol 2018-09-03 13:48:18 +03:00
Elad Salomons 74d68a884c Fix typo 2018-08-30 18:05:39 +03:00
Elad Salomons 7d8d780a8b Merge branch 'dev' into pr86 2018-08-30 17:55:35 +03:00
Marios Kyriakou 8991d6baf9 add test for the function EN_setdemandpattern 2018-08-30 17:21:02 +03:00
Elad Salomons f3d680dc54 Fix test_addpattern test
Thanks @mariosmsk

Co-Authored-By: Marios S. Kyriakou <mariosmsk@gmail.com>
2018-08-29 18:12:25 +03:00
Elad Salomons edf4a09ebe Fix EN_addpattern
Closes #231. Also adds unit test for the function.
2018-08-29 15:14:49 +03:00
Michael Tryby bdc05058ca Resolving merge conflicts 2018-08-27 09:38:46 -04:00
Michael Tryby fafad2a070 Revert "Reorganizing epanet header"
This reverts commit c8803a9f1b.
2018-08-22 15:05:48 -04:00
Michael Tryby 26ce95673a Renaming test 2018-08-22 11:35:44 -04:00
Michael Tryby 4723336726 Adding errormanager to toolkit api 2018-07-13 11:47:47 -04:00
Michael Tryby c8803a9f1b Reorganizing epanet header 2018-07-06 17:42:27 -04:00
Michael Tryby a93465e1cc Adding test for simultaneous stepping through hyd and qual simulation 2018-07-06 09:48:33 -04:00
Michael Tryby 74fbcf7768 Adding test for stepping through quality simulation 2018-07-06 09:31:58 -04:00
Michael Tryby 64f72abd78 Adding test for stepping through hydraulic simulation 2018-07-05 19:36:50 -04:00
Michael Tryby efcf8735f0 Fixing indent 2018-07-05 18:45:13 -04:00
Michael Tryby 245e2c5060 Adding tests and a fixture 2018-07-05 18:35:41 -04:00
Michael Tryby 594b6b9260 Python package epanet-python builds and runs 2018-07-03 18:47:30 -04:00
Michael Tryby 508bfb1cd4 Adding support for unit testing using boost unit test and ctest 2018-02-16 14:17:12 -05:00