C927CFFE.test 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. 2010/02/09 * Test 1
  2. A $10
  3. B
  4. 2010/02/10 * Test 2
  5. B $10
  6. C
  7. 2010/02/11 * Test 3
  8. C $10
  9. D
  10. test reg
  11. test -l "date>=[2010/02/10]" reg
  12. 10-Feb-10 Test 2 B $10 $10
  13. C $-10 0
  14. 10-Feb-11 Test 3 C $10 $10
  15. D $-10 0
  16. end test
  17. test -l "date<=[2010/02/10]" reg
  18. 10-Feb-09 Test 1 A $10 $10
  19. B $-10 0
  20. 10-Feb-10 Test 2 B $10 $10
  21. C $-10 0
  22. end test
  23. test -l "date==[2010/02/10]" reg
  24. 10-Feb-10 Test 2 B $10 $10
  25. C $-10 0
  26. end test
  27. test -l "date>[2010/02/10]" reg
  28. 10-Feb-11 Test 3 C $10 $10
  29. D $-10 0
  30. end test
  31. test -l "date<[2010/02/10]" reg
  32. 10-Feb-09 Test 1 A $10 $10
  33. B $-10 0
  34. end test