Commit Graph

40 Commits

Author SHA1 Message Date
Tom Henderson
0fc72ad7ad mobility: Instrument tests to run group mobility examples 2021-09-18 11:17:50 -07:00
Tommaso Pecorella
324644f86e doxygen: fix warnings in network, mobility 2021-05-02 21:42:55 +02:00
Tommaso Pecorella
eeadfbb182 core: (fixes !426) Align TimeWithUnit printing to the "normal" double behaviour
The new time printing format uses "automatic" promotion to scientific
notation - just like for normal doubles.
2020-09-30 08:37:41 +00:00
Jared Dulmage
19a5e0de30 mobility: (merges !101) Add CartesianToGeographic conversion with test
There are cases where it is useful to return to geographic
coordinates from cartesian.  One example is when you have a
mobile node, the position is updated in cartesian coordinates
but you may have a need to understand the geographic position
or heading when determining position relative to other objects
placed geographically, or to compute compass heading or surface
speed.
2020-09-20 16:00:33 -07:00
ZorazeAli
0a0e7847a6 mobility,buildings: Move the code to check box and line intersection to box class
mobility: Also add a UNIT test to check box and line intersectioni

see merge request !244
2020-04-12 00:52:57 +02:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Tom Henderson
1e986d449c mobility: Allow AssignStreams after construction for SteadyStateRwpMobility
The SteadyStateRandomWaypointMobilityModel should support AssignStreams()
after object construction, but prior to this patch, it would cause a
segmentation fault until after initialization.  The initial benefit is
the prevention of test suite failures due to random stream assignment.
2018-10-01 19:36:14 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Tommaso Pecorella
8cfc0f1b40 documentation: various test grouping fixes 2017-04-28 02:29:26 +02:00
Robert Ammon
7778696d67 mobility: Doxygen updates 2017-04-15 18:47:36 -07:00
Tommaso Pecorella
781e693b98 mobility: add testcase for bug 2390 and fix existing testcase for WaypointMobility 2016-09-12 23:01:55 +02:00
Benjamin Cizdziel
6c8d39f935 GeographicPositions class for coordinate conversion 2015-04-08 19:42:20 -07:00
Tom Henderson
f3c11d2676 do not delete ns-2 trace files when test data is retained 2015-01-15 10:04:13 -08:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Tommaso Pecorella
287bda5b7e Move some tests from src/test to appropriate places 2014-09-06 07:09:08 +02:00
Vedran Miletić
6acf41814e Move tests outside ns3 namespace 2014-01-02 18:34:30 +01:00
Peter D. Barnes, Jr.
666bcc699f Merge Coverity fixes 2013-05-22 17:58:58 -07:00
Peter D. Barnes, Jr.
80b15ea83f [Coverity] Unchecked return value (CHECKED_RETURN) 2013-05-15 16:26:46 -04:00
Vedran Miletić
53ec6a479e Rename Start and DoStart methods to Initialize and DoInitialize
The goal of this patch is to allows us to differentiate the Start/Stop
functionality present in some classes from Initialize/Dispose functionality.
2013-04-19 22:39:55 +02:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Mitch Watrous
d387160f6f Bug 976 2012-10-03 10:06:52 -07:00
Mitch Watrous
bb73887e20 Add an ns-2 mobility trace test case for Bug 1316 2012-09-25 14:08:22 -07:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Mitch Watrous
49a757cebc Replace src/mobility usage of RandomVariable with RandomVariableStream (Patch Set 1) 2012-08-15 14:28:33 -07:00
Peter D. Barnes, Jr.
151ccc7eb8 Fix doxygen error. 2012-06-15 14:02:33 -07:00
Peter D. Barnes, Jr.
e6d94781ec Fix easy doxygen warnings 2012-06-20 06:50:50 -07:00
Mitch Watrous
de6a588486 Make the ns2 mobility helper class more robust 2012-05-10 12:30:23 -07:00
Kirill Andreev
fb6d5edc3f Bug 1301 - Ns2MobilityHelper causes Node GetPosition() to return NaN: fixed. 2011-12-14 19:00:11 +03:00
Kirill Andreev
f13bf276f3 Bug 1059 - Unable to load trace files created from SUMO and TraNS Lite: fixed 2011-12-14 18:50:28 +03:00
Kirill Andreev
825c5aad26 Bug 1219: fixed. Coding style of ns2-mobility-helper-test-suite.cc is fixed. 2011-11-23 19:08:07 +03:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Mathieu Lacage
8a38290eb8 add support for --update-data to test.py, move test runner code to library for modular build, add support for hierarchical tests beyond the previous two-level hierarchy. 2011-07-29 03:38:59 -04:00
Mitch Watrous
0c1ba376e8 Bug 1192 - Some test cases fail to clean up properly (missing DoTeardown) 2011-06-17 15:04:44 -07:00
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Tom Henderson
34688f76ec rerun check-style.py with uncrustify-0.58 2011-05-22 22:28:15 -07:00
Josh Pelkey
86a9bb0183 mobility coding style changes 2011-05-13 14:56:37 -04:00
Mitch Watrous
6c0d5166e8 Make examples that were in samples directory run 2011-04-15 13:03:02 -07:00
Mitch Watrous
c9202337a8 Move examples out of samples directory and remove it 2011-04-14 14:22:09 -07:00
Mitch Watrous
b3933a2fe4 Move tests from mobility module to its test library 2011-04-07 10:07:46 -07:00
Tom Henderson
607c518617 mobility module to new directory structure 2011-02-25 16:06:17 -08:00