<?xml version="1.0" ?>
<diagram author="Herr Joeri Exelmans" name="rapid" language="javascript">
	<description>
		After event with a very small timeout.
	</description>
	<inport name="in"/>
	<outport name="out"/>
	<class name="c" default="true">
		<attribute name="i"/>
		<constructor>
			<body>
				this.i = 0;
			</body>
		</constructor>
		<scxml>
			<state id="a">
				<onentry>
					<raise event="entered_a" port="out"/>
				</onentry>
				<transition after="1e-10" target="." cond="this.i &lt; 2">
					<script>
						this.i++;
					</script>
				</transition>
			</state>
		</scxml>
	</class>
	<test>
		<expected>
			<slot>
				<!-- initialization -->
				<event name="entered_a" port="out"/>
			</slot>
			<slot>
				<!-- big step -->
				<event name="entered_a" port="out"/>
			</slot>
			<slot>
				<!-- big step -->
				<event name="entered_a" port="out"/>
			</slot>
		</expected>
	</test>
</diagram>
