467 static void foo3 (int, int, int) |
467 static void foo3 (int, int, int) |
468 {} |
468 {} |
469 static void foo4 (int, int, int, int) |
469 static void foo4 (int, int, int, int) |
470 {} |
470 {} |
471 static void foo5 (int, int, int, int, int) |
471 static void foo5 (int, int, int, int, int) |
472 {} |
472 {} |
|
473 |
|
474 static void ber1 (int &) |
|
475 {} |
|
476 static void ber2 (int &, int &) |
|
477 {} |
|
478 static void ber3 (int &, int &, int &) |
|
479 {} |
|
480 static void ber4 (int &, int &, int &, int &) |
|
481 {} |
|
482 static void ber5 (int &, int &, int &, int &, int &) |
|
483 {} |
473 |
484 |
474 |
485 |
475 class SimulatorTests : public Test { |
486 class SimulatorTests : public Test { |
476 public: |
487 public: |
477 SimulatorTests (); |
488 SimulatorTests (); |
491 void bar1 (int); |
502 void bar1 (int); |
492 void bar2 (int, int); |
503 void bar2 (int, int); |
493 void bar3 (int, int, int); |
504 void bar3 (int, int, int); |
494 void bar4 (int, int, int, int); |
505 void bar4 (int, int, int, int); |
495 void bar5 (int, int, int, int, int); |
506 void bar5 (int, int, int, int, int); |
|
507 void baz1 (int &); |
|
508 void baz2 (int &, int &); |
|
509 void baz3 (int &, int &, int &); |
|
510 void baz4 (int &, int &, int &, int &); |
|
511 void baz5 (int &, int &, int &, int &, int &); |
496 |
512 |
497 bool m_b; |
513 bool m_b; |
498 bool m_a; |
514 bool m_a; |
499 bool m_c; |
515 bool m_c; |
500 bool m_d; |
516 bool m_d; |
571 {} |
587 {} |
572 void |
588 void |
573 SimulatorTests::bar5 (int, int, int, int, int) |
589 SimulatorTests::bar5 (int, int, int, int, int) |
574 {} |
590 {} |
575 |
591 |
|
592 void |
|
593 SimulatorTests::baz1 (int &) |
|
594 {} |
|
595 void |
|
596 SimulatorTests::baz2 (int &, int &) |
|
597 {} |
|
598 void |
|
599 SimulatorTests::baz3 (int &, int &, int &) |
|
600 {} |
|
601 void |
|
602 SimulatorTests::baz4 (int &, int &, int &, int &) |
|
603 {} |
|
604 void |
|
605 SimulatorTests::baz5 (int &, int &, int &, int &, int &) |
|
606 {} |
|
607 |
576 bool |
608 bool |
577 SimulatorTests::RunOneTest (void) |
609 SimulatorTests::RunOneTest (void) |
578 { |
610 { |
579 bool ok = true; |
611 bool ok = true; |
580 m_a = true; |
612 m_a = true; |
636 Simulator::Schedule (Seconds (0.0), &foo1, 0); |
668 Simulator::Schedule (Seconds (0.0), &foo1, 0); |
637 Simulator::Schedule (Seconds (0.0), &foo2, 0, 0); |
669 Simulator::Schedule (Seconds (0.0), &foo2, 0, 0); |
638 Simulator::Schedule (Seconds (0.0), &foo3, 0, 0, 0); |
670 Simulator::Schedule (Seconds (0.0), &foo3, 0, 0, 0); |
639 Simulator::Schedule (Seconds (0.0), &foo4, 0, 0, 0, 0); |
671 Simulator::Schedule (Seconds (0.0), &foo4, 0, 0, 0, 0); |
640 Simulator::Schedule (Seconds (0.0), &foo5, 0, 0, 0, 0, 0); |
672 Simulator::Schedule (Seconds (0.0), &foo5, 0, 0, 0, 0, 0); |
|
673 Simulator::Schedule (Seconds (0.0), &ber1, 0); |
|
674 Simulator::Schedule (Seconds (0.0), &ber2, 0, 0); |
|
675 Simulator::Schedule (Seconds (0.0), &ber3, 0, 0, 0); |
|
676 Simulator::Schedule (Seconds (0.0), &ber4, 0, 0, 0, 0); |
|
677 Simulator::Schedule (Seconds (0.0), &ber5, 0, 0, 0, 0, 0); |
641 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar0, this); |
678 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar0, this); |
642 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar1, this, 0); |
679 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar1, this, 0); |
643 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar2, this, 0, 0); |
680 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar2, this, 0, 0); |
644 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar3, this, 0, 0, 0); |
681 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar3, this, 0, 0, 0); |
645 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar4, this, 0, 0, 0, 0); |
682 Simulator::Schedule (Seconds (0.0), &SimulatorTests::bar4, this, 0, 0, 0, 0); |