Commit Graph

19 Commits

Author SHA1 Message Date
Michael Tryby 48facd89d0 Fixing test build on gcc 2019-03-21 18:08:05 -04:00
Michael Tryby 0c56df4041 Reorganizing tests
Adding test_net_builder and test_reent to cmake build script.
2019-03-21 13:44:31 -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 260bdef2cf Update test_net_builder.cpp
Removing strings and adding test fixture
2019-03-19 14:10:29 -04:00
Michael Tryby 29cfe43e5a Cleaning up tests
Fixing memory leak associated with using string objects to pass filepath arguments to toolkit
2019-03-19 13:27:07 -04:00
Michael Tryby ed9a89763b Reorganizing tests to improve build performance 2019-03-18 16:06:21 -04:00
Lew Rossman dd376692ad Floating pt. args in thread-safe API changed to doubles (Issue #365) 2019-01-09 15:14:10 -05:00
Lew Rossman 628fffc718 Added additional network building features (#367) 2019-01-02 10:33:58 -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
Lew Rossman 24d90a530d Replaced EN_ProjectHandle with EN_Project in unit tests 2018-11-27 15:16:12 -05:00
Elad Salomons dad11cce8d Add option to get\set default demand pattern
also updates the net builder test
2018-09-15 14:22:20 +03:00
Michael Tryby bec729a669 Fixing compiler warnings 2018-09-13 10:48:55 -04:00
Elad Salomons 735811dd60 Revert "Fixing char casting in test file"
This reverts commit 8d5d20f542.
2018-09-13 16:17:06 +03:00
Elad Salomons 8d5d20f542 Fixing char casting in test file 2018-09-13 15:33:12 +03:00
Elad Salomons 7cf8d53356 Explicitly set demant patterns for junctions
This is since there is currently no way to set the default demand pattern. Should be fixed in #280 and then the test can be changed.
2018-09-06 12:07:14 +03:00
Elad Salomons 102ac90a98 Adding last test 2018-09-05 13:56:59 +03:00
Elad Salomons d46dd1a182 Added documentation 2018-09-05 13:56:18 +03:00
Elad Salomons ad3b26d727 Fail the test... 2018-09-05 09:37:21 +03:00
Elad Salomons 8687af337f Initial net builder test 2018-09-05 09:33:21 +03:00