diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 14:38:30 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-13 14:38:30 +0200 |
| commit | 17bfda379be17acb20abfb7f0c9231d36ef8766d (patch) | |
| tree | f263d1b37e223278e4b929460c7f4dc7798493ef /tests/breakpoints_auto_1n/simulator.py | |
| parent | b3cbb52f00e000277c3c74e1e9eab230d8b2d843 (diff) | |
Debug and improve tests
Diffstat (limited to 'tests/breakpoints_auto_1n/simulator.py')
| -rwxr-xr-x | tests/breakpoints_auto_1n/simulator.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/breakpoints_auto_1n/simulator.py b/tests/breakpoints_auto_1n/simulator.py deleted file mode 100755 index ac24a03..0000000 --- a/tests/breakpoints_auto_1n/simulator.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python - -# Load ESDS -import esds -import numpy as np - -n=2 -B=np.full((2,2),n) -L=np.full((2,2),0) -s=esds.Simulator({"wlan0":{"bandwidth":B, "latency":L, "is_wired":False}, "eth0":{"bandwidth":B, "latency":L, "is_wired":True}}) - -s.create_node("node") -s.create_node("node") - -def callback(simulator): - simulator.log("Hello Callback!") - -s.run(breakpoints_every=3.3,breakpoint_callback=callback) |
