summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-07-02 14:03:36 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-07-02 14:03:36 +0200
commit33d24479dea9e4573e9fdcbf22bb2093c37ea191 (patch)
tree431618cdf328dc56ca35c54e68aa7bdebb1edc23 /tests
parent76a83847910c8763141f078610785110fcfff6e8 (diff)
Improve tests
Diffstat (limited to 'tests')
-rw-r--r--tests/README.org9
-rw-r--r--tests/api_sendt_eth0_1s1r/sender.py2
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/README.org b/tests/README.org
index f510daf..026c703 100644
--- a/tests/README.org
+++ b/tests/README.org
@@ -38,7 +38,10 @@ Tests folders names convention:
* api_send_eth0_2s1r [1/1]
- [X] Check send on 2 receivers works
* api_send_eth0_3s1r
-* api_sendt_eth0_1s1r
+* api_sendt_eth0_1s1r [3/3]
+- [X] sendt() works if timeout > transmission duration
+- [X] sendt() works if timeout = transmission duration
+- [X] sendt() do not work if timeout < transmission duration
* api_sendt_wlan0_1s2r [2/2]
- [X] Transmission work if timeout do not expire
- [X] Transmission does not work if timeout expire
@@ -59,7 +62,9 @@ Tests folders names convention:
- [X] Simulation breaks at 1,2,3 and 10s
* breakpoints_manual_no_callback_1n [1/1]
- [X] Breakpoints work if no callback specified
-* hidden_node_2s1r
+* 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
diff --git a/tests/api_sendt_eth0_1s1r/sender.py b/tests/api_sendt_eth0_1s1r/sender.py
index ee2ea9d..c7fdb0d 100644
--- a/tests/api_sendt_eth0_1s1r/sender.py
+++ b/tests/api_sendt_eth0_1s1r/sender.py
@@ -11,4 +11,4 @@ def execute(api):
# Should not work
sendt(api,0.5)
# Should work
- sendt(api,2)
+ sendt(api,1)