|
|
|
# Demos
|
|
|
|
A demo of the map can be viewed by using both running the following commands:
|
|
|
|
```console
|
|
|
|
example@user:~$ python demo/demoMap.py
|
|
|
|
```
|
|
|
|
```console
|
|
|
|
example@user:~$ python src/main.py --map
|
|
|
|
```
|
|
|
|
Before running make sure that your database is configured correctly in ```config.ini```.
|
|
|
|
|
|
|
|
To test the functionality of the receiver, you can run multiple receivers using the commands specified in the command line, and run the following command after editing the demo file.
|
|
|
|
```console
|
|
|
|
example@user:~$ python demo/demoReceiver.py
|
|
|
|
```
|
|
|
|
# Testing
|
|
|
|
These are unit tests written in Python using the unittest module to test various functionalities of a program. The tests cover different aspects such as configuration creation and validation, database configuration and management, geospatial calculations, and multilateration.
|
|
|
|
|
|
|
|
The tests can be run using:
|
|
|
|
```console
|
|
|
|
example@user:~$ python -m unittest test.py
|
|
|
|
``` |
|
|
\ No newline at end of file |