From: pimjager Date: Wed, 11 Nov 2015 14:46:43 +0000 (+0100) Subject: Addd table numbers X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=14b6a60ab5a1358f759bec66cc66fa20a4ab439a;p=tt2015.git Addd table numbers --- diff --git a/a2/1cases.tex b/a2/1cases.tex index 9ffc07d..e488ba3 100644 --- a/a2/1cases.tex +++ b/a2/1cases.tex @@ -119,7 +119,7 @@ these partitions are given. \item Correct \item Incorrect \end{enumerate} - \item Packet order + \item \emph{Packet order} \begin{enumerate} \item Correct \item Out of order @@ -147,10 +147,12 @@ increases by one, and the value of another decreases by one, is undetected. The SUT should exhibit the same behavior and accept packets where these type of bit errors occur. -TCP guarantees that segments are delivered in order,even when they are received -\emph{out of order} and that missing segments are resend. The SUT should +TCP guarantees that segments are delivered \emph{in order} +,even when they are received +out of order and that missing segments are resend. The SUT should exhibit the same behavior. If segments are received out of order it should -deliver them in order. Missing segments should be re-requested (by ACK-ing +either reassemble them when the missing packet has arrived or request them to +be resend when the Missing segments should be re-requested (by ACK-ing the correct sequence number). \bigskip @@ -161,6 +163,9 @@ to do so) tested with the different request sizes of partition 1. This is expressed in Table~\ref{table:testpairs}. +\newcounter{TCC} +\setcounter{TCC}{1} +\newcommand{\doTCC}{\theTCC \stepcounter{TCC}} \begin{table}[H] \centering \begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|} @@ -170,15 +175,15 @@ This is expressed in Table~\ref{table:testpairs}. & \# & 4 & 5 & 3 & 6 & 2 & 1a & 1b & 1c & 1d\\ \hline\hline \multirow{9}{*}{Instance} - & 1 & a & a & a & a & a & \checkmark & \checkmark & \checkmark & \checkmark\\ - & 2 & a & b & b & c & b & \xmark & \xmark & \checkmark & \checkmark\\ - & 3 & c & a & b & a & b & \xmark & \xmark & \checkmark & \checkmark\\ - & 4 & c & b & a & c & a & \xmark & \xmark & \checkmark & \checkmark\\ - & 5 & b & a & b & c & a & \xmark & \xmark & \checkmark & \checkmark\\ - & 6 & b & b & a & b & b & \xmark & \xmark & \checkmark & \checkmark\\ - & 7 & c & b & b & a & b & \checkmark & \checkmark & \checkmark & \checkmark\\ - & 8 & b & b & b & a & b & \checkmark & \checkmark & \checkmark & \checkmark\\ - & 9 & a & b & b & b & a & \xmark & \xmark & \checkmark & \checkmark\\ + & 1 & a & a & a & a & a & \doTCC & \doTCC & \doTCC & \doTCC\\ + & 2 & a & b & b & c & b & \xmark & \xmark & \doTCC & \doTCC\\ + & 3 & c & a & b & a & b & \xmark & \xmark & \doTCC & \doTCC\\ + & 4 & c & b & a & c & a & \xmark & \xmark & \doTCC & \doTCC\\ + & 5 & b & a & b & c & a & \xmark & \xmark & \doTCC & \doTCC\\ + & 6 & b & b & a & b & b & \xmark & \xmark & \doTCC & \doTCC\\ + & 7 & c & b & b & a & b & \doTCC & \doTCC & \doTCC & \doTCC\\ + & 8 & b & b & b & a & b & \doTCC & \doTCC & \doTCC & \doTCC\\ + & 9 & a & b & b & b & a & \xmark & \xmark & \doTCC & \doTCC\\ \hline \end{tabular} \caption{Combinations of test cases}