From Fedora Project Wiki
Description
This test case ensures that the NEST simulator functions correctly on install.
Setup
- Run a current Fedora release: even a virtual machine is OK.
- Install nest:
sudo dnf install python3-nest
. - If testing an update, please ensure that the build in the update is being installed:
sudo dnf --enablerepo=updates-testing install python3-nest
.
How to test
- In a terminal, run the ipython3 interpreter:
ipython3
- Try to import nest:
import nest
- Run the simplest example simulation from the NEST documentation: https://nest-simulator.readthedocs.io/en/stable/getting_started.html
Expected Results
- Nest should be import correctly in Python.
- You should be able to run the example simulation and see the graph provided in the documentation.
Optional
For more exploratory testing, run some more examples from the documentation:
- https://nest-simulator.readthedocs.io/en/stable/auto_examples/one_neuron.html
- https://nest-simulator.readthedocs.io/en/stable/auto_examples/twoneurons.html
- https://nest-simulator.readthedocs.io/en/stable/auto_examples/testiaf.html
- https://nest-simulator.readthedocs.io/en/stable/auto_examples/if_curve.html
You should be able to download the sources (or write them while referring to the docs if you prefer), and then they should be runnable simply by using python3 <example file>.py
in a terminal.