content.txt 2.12 KB
!1 User Story 86: Bug 'Average : The last value in particular cases is not processed'
http://yahscrum.akka.eu:8080/icescrum/p/AMDAKERNEL-86
!define path {../test/FitNesseRoot/ReleaseS/FirstPart/ReLease4/SprinT1/UserStory86/}
!define executable {EXE_AMDA_Kernel}
!2 Description
tail output:

2008-01-01T22:50:00.000  -0.664  -1.753  -1.674
2008-01-01T23:00:00.000  -0.580   0.397  -0.081
2008-01-01T23:10:00.000   1.748  -2.789   0.270
2008-01-01T23:20:00.000  -1.950  -2.368  -2.609
2008-01-01T23:30:00.000  -0.971  -1.627  -0.565
2008-01-01T23:40:00.000  -1.540   0.593  -0.516
2008-01-01T23:50:00.000   1.691   1.726   0.846

NO LAST VALUE at 2008-01-02T00:00:00.000

========================================
TO COMPARE with 'normal case':

 EXE_AMDA_Kernel -f iso -p imf --sampling 600 --sampling-mode classic --gaps-threshold 5  -s 2008000000000000 -d 0000001000000000

tail output:

2008-01-01T22:50:00.000   2.005   0.975   0.473
2008-01-01T23:00:00.000   2.026   2.068   0.203
2008-01-01T23:10:00.000   1.721   1.956  -0.107
2008-01-01T23:20:00.000   1.359   1.934  -0.425
2008-01-01T23:30:00.000   1.720   0.920  -0.482
2008-01-01T23:40:00.000   2.966  -0.291   0.172
2008-01-01T23:50:00.000   3.024  -0.865   0.418
2008-01-02T00:00:00.000   2.471  -1.020   0.351
=========================================
Bug reason:
    Resampling::terminated() is not called as pParamDataIndexInfo._nbDataToProcess == 1


!2 Liste des tests

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


!3 ID-145 Last value test

!4 Tests : 
!|script|TestAmdaCommandLine|
|reference|US 86: id 145|id test|
|check|execute|${executable}|command|-f iso -p efield --sampling 600 --sampling-mode classic --gaps-threshold 5  -s 2008000000000000 -d 0000001000000000|args|0|
|check|diffOutputFile|test_86_145.txt|file1|output-efield_2008000000000000.txt|file2|0|epsilon|0|

!|script|TestCommandLine|
|check|execute|!-grep  "2008-01-02T00:00:00.000" output-efield_2008000000000000.txt -!|command|grep1|alias|0|
|check|execute|!-grep  "VirtualInstrumentInterval::writeEmptyData" example.log -!|command|grep1|alias|0|


!2 suivi des modifications
Sans objet
-----
!contents -R2 -g -p -f -h