content.txt 4.92 KB
!1 User Story 42: Paramètre composé sur scalaire avec fonctions
http://yahscrum.akka.eu:8080/icescrum/p/AMDAKERNEL-42
!define path {../test/FitNesseRoot/ReleaseS/FirstPart/ReLease2/SprinT2/UserStory42/}
!define executable {amdaXMLRequestorTool}
!2 Description 

Construct and output values of composed parameter based on user defined expression with parameters simple scalar and functions

Lister les fonctions à implémenter:
* sin, cos, tan
* acos, asin, atan
* sinh, cosh, tanh
* abs, sqrt, exp, alog10, alog

!2 Liste des tests

!4 Tests : 
!|script|TestAmdaCommandLine|
|set|${path}|path|

!3 ID-73  cos function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 73|id test|
|execute|${executable}|command|${path}request_42_73.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_73.txt|file1|output-expression_cos_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID-101   sin function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 101|id test|
|execute|${executable}|command|${path}request_42_101.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_101.txt|file1|output-expression_sin_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 102 tan function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 102|id test|
|execute|${executable}|command|${path}request_42_102.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_102.txt|file1|output-expression_tan_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 103 acos function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 103|id test|
|execute|${executable}|command|${path}request_42_103.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_103.txt|file1|output-expression_acos_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 104 asin function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 104|id test|
|execute|${executable}|command|${path}request_42_104.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_104.txt|file1|output-expression_asin_2008000003000000.txt|file2|1e-3|epsilon|0|


!3 ID 105 atan function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 105|id test|
|execute|${executable}|command|${path}request_42_105.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_105.txt|file1|output-expression_atan_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 106 cosh function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 106|id test|
|execute|${executable}|command|${path}request_42_106.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_106.txt|file1|output-expression_cosh_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 107 sinh function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 107|id test|
|execute|${executable}|command|${path}request_42_107.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_107.txt|file1|output-expression_sinh_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 108 tanh function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 108|id test|
|execute|${executable}|command|${path}request_42_108.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_108.txt|file1|output-expression_tanh_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 109 abs function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 109|id test|
|execute|${executable}|command|${path}request_42_109.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_109.txt|file1|output-expression_abs_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 110 sqrt function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 110|id test|
|execute|${executable}|command|${path}request_42_110.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_110.txt|file1|output-expression_sqrt_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 111 exp function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 111|id test|
|execute|${executable}|command|${path}request_42_111.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_111.txt|file1|output-expression_exp_2008000003000000.txt|file2|1.7e-1|epsilon|0|

!3 ID 112 alog10 function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 112|id test|
|execute|${executable}|command|${path}request_42_112.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_112.txt|file1|output-expression_alog10_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 113 alog function

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 113|id test|
|execute|${executable}|command|${path}request_42_113.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_113.txt|file1|output-expression_alog_2008000003000000.txt|file2|1e-3|epsilon|0|

!3 ID 114 expression complexe utilisant des fonctions

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 42: id 114|id test|
|execute|${executable}|command|${path}request_42_114.xml|args|
|check|result|0|
|check|diffOutputFile|test_42_114.txt|file1|output-expression_function_2008000003000000.txt|file2|3e-2|epsilon|0|

!2 suivi des modifications