Loading 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_020.ttcn +4 −4 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_020.ttcn: 4 added lines, 4 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the addition operator works on float variables. ** @purpose 1:7.1.1, Ensure that the substraction operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ // TODO duplicate of Sem_070101_ArithmeticOperators_019 module Sem_070101_ArithmeticOperators_020 { type component GeneralComp { Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_020() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i + v_j; var float v_result := v_i - v_j; if (v_result == 10.6) { if (v_result == 9.8) { setverdict(pass); } else { setverdict(fail); Loading 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_021.ttcn +3 −3 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_021.ttcn: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the substraction operator works on float variables. ** @purpose 1:7.1.1, Ensure that the multiplication operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_021() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i - v_j; var float v_result := v_i * v_j; if (v_result == 9.8) { if (v_result == 4.08) { setverdict(pass); } else { setverdict(fail); Loading 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_022.ttcn +3 −3 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_022.ttcn: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the multiplication operator works on float variables. ** @purpose 1:7.1.1, Ensure that the division operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_022() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i * v_j; var float v_result := v_i / v_j; if (v_result == 4.08) { if (v_result == 25.5) { setverdict(pass); } else { setverdict(fail); Loading 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_023.ttcn +3 −4 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_023.ttcn: 3 added lines, 4 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the division operator works on float variables. ** @purpose 1:7.1.1, Ensure that the combination of different operators works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -12,10 +12,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_023() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i / v_j; var float v_result := (((v_i * 2.3) / 0.4)+0.45)-0.1; if (v_result == 25.5) { if (v_result == 59.0) { setverdict(pass); } else { setverdict(fail); Loading 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_024.ttcn −28 File deleted. Show changes Loading
07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_020.ttcn +4 −4 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_020.ttcn: 4 added lines, 4 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the addition operator works on float variables. ** @purpose 1:7.1.1, Ensure that the substraction operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ // TODO duplicate of Sem_070101_ArithmeticOperators_019 module Sem_070101_ArithmeticOperators_020 { type component GeneralComp { Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_020() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i + v_j; var float v_result := v_i - v_j; if (v_result == 10.6) { if (v_result == 9.8) { setverdict(pass); } else { setverdict(fail); Loading
07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_021.ttcn +3 −3 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_021.ttcn: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the substraction operator works on float variables. ** @purpose 1:7.1.1, Ensure that the multiplication operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_021() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i - v_j; var float v_result := v_i * v_j; if (v_result == 9.8) { if (v_result == 4.08) { setverdict(pass); } else { setverdict(fail); Loading
07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_022.ttcn +3 −3 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_022.ttcn: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the multiplication operator works on float variables. ** @purpose 1:7.1.1, Ensure that the division operator works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -13,9 +13,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_022() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i * v_j; var float v_result := v_i / v_j; if (v_result == 4.08) { if (v_result == 25.5) { setverdict(pass); } else { setverdict(fail); Loading
07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_023.ttcn +3 −4 Changes for 07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_023.ttcn: 3 added lines, 4 removed lines. Original line number Diff line number Diff line /***************************************************************** ** @author STF 409 ** @version $Rev$ ** @purpose 1:7.1.1, Ensure that the division operator works on float variables. ** @purpose 1:7.1.1, Ensure that the combination of different operators works on float variables. ** @verdict pass accept, ttcn3verdict:pass *****************************************************************/ Loading @@ -12,10 +12,9 @@ type component GeneralComp { testcase TC_Sem_070101_ArithmeticOperators_023() runs on GeneralComp { var float v_i := 10.2; var float v_j := 0.4; var float v_result := v_i / v_j; var float v_result := (((v_i * 2.3) / 0.4)+0.45)-0.1; if (v_result == 25.5) { if (v_result == 59.0) { setverdict(pass); } else { setverdict(fail); Loading
07_expressions/0701_operators/070101_arithmetic_operators/Sem_070101_ArithmeticOperators_024.ttcn −28 File deleted. Show changes