Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SMPC Multilateration SMPC Multilateration
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Masters Year Project
  • SMPC MultilaterationSMPC Multilateration
  • Wiki
  • Demos and Testing

Demos and Testing · Changes

Page history
wiki final authored Apr 12, 2023 by Daniel Chadwick's avatar Daniel Chadwick
Show whitespace changes
Inline Side-by-side
Demos-and-Testing.md
View page @ 440fdf6b
# Demos # 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 # 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
Clone repository
  • Command line
  • Configuring
  • Demos and Testing
  • Home