The Junit test TraCIServerTest.testGetVersionHighLevel() checks that the API version reported by SUMO is exactly equal to the constant API_VERSION, and fails if the machine that runs the test has a different version of SUMO.
testGetVersionHighLevel should only test for a minimum API version that ensures that the basic message exchange still works. Breaking changes in higher level APIs, e.g. properties of TraCI objects, should be detected by JUnit tests.
The Junit test
TraCIServerTest.testGetVersionHighLevel()
checks that the API version reported by SUMO is exactly equal to the constant API_VERSION, and fails if the machine that runs the test has a different version of SUMO.testGetVersionHighLevel
should only test for a minimum API version that ensures that the basic message exchange still works. Breaking changes in higher level APIs, e.g. properties of TraCI objects, should be detected by JUnit tests.