summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-07-02 15:28:58 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-07-02 15:28:58 +0200
commit9f17395651bc24008c783f6a9b1bae70066ad969 (patch)
tree5a860a1b5199cdc2a50a4c47f51f89e17f21a7fa /tests
parentc5fa6d856af2945e19ab3669f804677a03b4f6e9 (diff)
Improve tests
Diffstat (limited to 'tests')
-rw-r--r--tests/README.org18
-rwxr-xr-xtests/mobility_eth0_latency_1s1r/simulator.py2
2 files changed, 13 insertions, 7 deletions
diff --git a/tests/README.org b/tests/README.org
index 1af37b4..401b2ec 100644
--- a/tests/README.org
+++ b/tests/README.org
@@ -72,10 +72,16 @@ Tests folders names convention:
* hidden_node_2s1r [2/2]
- [X] Bandwidth is 0 between 2 nodes means unreachable
- [X] Interferences occur on the node in between (hidden node problem)
-* mobility_eth0_bandwidth_1s1r
-* mobility_eth0_bandwidth_2s1r
-* mobility_eth0_latency_1s1r
-* mobility_eth0_latency_2s1r
-* mobility_wlan0_bandwidth_1s1r
-* mobility_wlan0_latency_1s1r
+* mobility_eth0_bandwidth_1s1r [1/1]
+- [X] Every 0.5s bandwidth get multiply by 2
+* mobility_eth0_bandwidth_2s1r [1/1]
+- [X] Every 0.5s bandwidth get multiply by 2 with 2 senders sending to the same receiver (bandwidth divided by 2)
+* mobility_eth0_latency_1s1r [1/1]
+- [X] Every 0.5s latency increases by 0.5s
+* mobility_eth0_latency_2s1r [1/1]
+- [X] Every 0.5s latency increases by 0.5s with 2 senders sending to the same receiver (bandwidth divided by 2)
+* mobility_wlan0_bandwidth_1s1r [1/1]
+- [X] Every 0.5s bandwidth get multiply by 2
+* mobility_wlan0_latency_1s1r [1/1]
+- [X] Every 0.5s latency increases by 0.5s
diff --git a/tests/mobility_eth0_latency_1s1r/simulator.py b/tests/mobility_eth0_latency_1s1r/simulator.py
index b03c5bc..455a1cb 100755
--- a/tests/mobility_eth0_latency_1s1r/simulator.py
+++ b/tests/mobility_eth0_latency_1s1r/simulator.py
@@ -14,7 +14,7 @@ import numpy as np
# - Bandwidth = BW
# - Latency = L
# |-------------------+------------+----------------+----------------------+--------------------------+-------------------------|
-# | Simulated time(s) | Latency(s) | Bandwidth(bps) | Remaining data (bit) | Communcation duration(s) | Communcation ends at(s) |
+# | Simulated time(s) | Latency(s) | Bandwidth(bps) | Remaining data (bit) | Communcation duration(s) | Communication ends at(s) |
# |-------------------+------------+----------------+----------------------+--------------------------+-------------------------|
# | 0 | 0 | 8 | 8 | 1 | 1 |
# | 0.5 | 0.5 | 8 | C/U*D = 4 | R/I * L + R/BW = 0.75 | 1.25 |