11-quoted_tickmark_counts_parse_error.mdl 842 B

12345678910111213141516171819202122232425262728
  1. /****************************************************************************
  2. * Regression test 11: MCell cannot parse quoted-tickmark orientations if the
  3. * molecule name is a single character long. This is a stripped down
  4. * version of the test case Boris sent when he reported the bug.
  5. *
  6. * Failure: Parse error on the count statements.
  7. * Success: Run completes successfully.
  8. *
  9. * Author: Jed Wing <[email protected]>
  10. * Date: 2009-03-27
  11. ****************************************************************************/
  12. ITERATIONS = 1
  13. TIME_STEP = 1e-6
  14. DEFINE_MOLECULE A { DIFFUSION_CONSTANT_2D = 1e-6 }
  15. INSTANTIATE world OBJECT {
  16. boxy BOX { CORNERS = [-0.2, -0.2, -0.2], [0.2, 0.2, 0.2] }
  17. }
  18. REACTION_DATA_OUTPUT
  19. {
  20. STEP = 1e-6
  21. {COUNT ["A'", world.boxy[ALL]]} => "Ap.dat"
  22. {COUNT ["A,", world.boxy[ALL]]} => "An.dat"
  23. }