2
0

evaluate.test.out 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. string: "this is a string"
  3. symbol: Symbol
  4. int: 17
  5. real: 42.2
  6. int + int: (10 + 10)
  7. int - int: (3 - 127)
  8. int / int: (10 / 2)
  9. real / real: (5 / 2)
  10. real * real: (5.1 * 8.7)
  11. int + real: (5 + 8.7)
  12. real + int: (8.7 + 5)
  13. exp: DEFAULT_FONT_FAMILY
  14. Xsize: size
  15. dim: <10 inch>
  16. int + dim: (5 + <25 inch>)
  17. dim + int: (<25 inch> + 5)
  18. dim + dim: (<25 point> + <5 inch>)
  19. real * dim: (2.2 * <11 point>)
  20. dim * real: (<11 point> * 2.1)
  21. dim / real: (<11 point> / 2)
  22. real / dim: (11 / <2 point>)
  23. dim * int: (<11 point> * 2)
  24. int * dim: (2 * <11 point>)
  25. dim / int: (<11 point> / 2)
  26. int / dim: (22 / <11 point>)
  27. int - dim: (2 - <11 point>)
  28. dim - int: (<11 point> - 2)
  29. }
  30. {
  31. string: "this is a string"
  32. symbol: Symbol
  33. int: 17
  34. real: 42.2
  35. int + int: 20
  36. int - int: -124
  37. int / int: 5
  38. real / real: 2.5
  39. real * real: 44.37
  40. int + real: 13.7
  41. real + int: 13.7
  42. exp: "helvetica"
  43. Xsize: 10
  44. dim: <10 inch>
  45. int + dim: <30 inch>
  46. dim + int: <30 inch>
  47. dim + dim: <5.34722 inch>
  48. real * dim: <24.2 point>
  49. dim * real: <23.1 point>
  50. dim / real: <5.5 point>
  51. real / dim: <5.5 point>
  52. dim * int: <22 point>
  53. int * dim: <22 point>
  54. dim / int: <5.5 point>
  55. int / dim: <2 point>
  56. int - dim: <-9 point>
  57. dim - int: <9 point>
  58. }
  59. DEFAULT_FONT_FAMILY "helvetica"
  60. (10 + 10)
  61. <<72 point> inch>
  62. 1