[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests GetAgentLoc.ma, 1.3, 1.4 GetLoc.ma, 1.1, 1.2 README, 1.3, 1.4 TestHeap.ma, 1.1, 1.2 duplicate_rout.ma, 1.1, 1.2 hidAndLocToValue.ma, 1.1, 1.2 subtraction.ma, 1.1, 1.2

Chien-Liang Fok chien-liang at users.sourceforge.net
Thu May 18 14:13:32 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19324/contrib/wustl/apps/AgillaAgents/Tests

Modified Files:
	GetAgentLoc.ma GetLoc.ma README TestHeap.ma duplicate_rout.ma 
	hidAndLocToValue.ma subtraction.ma 
Log Message:


Index: GetAgentLoc.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/GetAgentLoc.ma,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GetAgentLoc.ma	7 Apr 2006 01:12:31 -0000	1.3
--- GetAgentLoc.ma	18 May 2006 21:13:29 -0000	1.4
***************
*** 1,19 ****
! 	aid
! 	getAgentLocation
! 	rjumpc SUCCESS
! 	pushc 28
! 	putled 			// toggle yellow LED
! 	halt
! SUCCESS	copy
! 	pushc 1
! 	pushcl uart
! 	rout
! 	loc	
! 	ceq
! 	rjumpc EQUAL
! 	pushc 25
! 	putled			// toggle red LED if not equal (not correct)
! 	halt
! EQUAL	pushc 26
! 	putled  		// toggle green LED if equal (correct)
! 	halt
--- 1,19 ----
! 	aid
! 	getAgentLocation
! 	rjumpc SUCCESS
! 	pushc 28
! 	putled 			// toggle yellow LED
! 	halt
! SUCCESS	copy
! 	pushc 1
! 	pushcl uart
! 	rout
! 	loc	
! 	ceq
! 	rjumpc EQUAL
! 	pushc 25
! 	putled			// toggle red LED if not equal (not correct)
! 	halt
! EQUAL	pushc 26
! 	putled  		// toggle green LED if equal (correct)
! 	halt

Index: GetLoc.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/GetLoc.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** GetLoc.ma	6 Dec 2005 20:45:43 -0000	1.1
--- GetLoc.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,7 ****
! 	loc
! 	pushc 1
! 	pushcl uart
! 	rout
! 	pushc 25
! 	putled    // toggle red LED
  	halt
\ No newline at end of file
--- 1,7 ----
! 	loc
! 	pushc 1
! 	pushcl uart
! 	rout
! 	pushc 25
! 	putled    // toggle red LED
  	halt
\ No newline at end of file

Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** README	27 Mar 2006 01:25:53 -0000	1.3
--- README	18 May 2006 21:13:29 -0000	1.4
***************
*** 1,11 ****
! ChangeDescription:
! 	Changes an agent's description every second.  Tests whether the base
! 	station is updated of the new agent's description.
! 
! OutLocToBS.ma:
! 	Inserts a tuple containing the node's location into the base station's
! 	tuple space.
! 	
! GetAgentLoc.ma:
! 	Gets the location of an agent using getAgentLocation.  In this case,
  	it finds its own location, so the results are the same as loc.
\ No newline at end of file
--- 1,11 ----
! ChangeDescription:
! 	Changes an agent's description every second.  Tests whether the base
! 	station is updated of the new agent's description.
! 
! OutLocToBS.ma:
! 	Inserts a tuple containing the node's location into the base station's
! 	tuple space.
! 	
! GetAgentLoc.ma:
! 	Gets the location of an agent using getAgentLocation.  In this case,
  	it finds its own location, so the results are the same as loc.
\ No newline at end of file

Index: TestHeap.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/TestHeap.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestHeap.ma	21 Jan 2006 03:23:13 -0000	1.1
--- TestHeap.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,12 ****
! 	pushc 1
! 	esetvar 19
! 	egetvar 19
! 	pushc 1
! 	ceq
! 	rjumpc EQUAL
! 	pushc 2
! 	putled
! 	halt
! EQUAL	pushc 1
! 	putled
  	halt
\ No newline at end of file
--- 1,12 ----
! 	pushc 1
! 	esetvar 19
! 	egetvar 19
! 	pushc 1
! 	ceq
! 	rjumpc EQUAL
! 	pushc 2
! 	putled
! 	halt
! EQUAL	pushc 1
! 	putled
  	halt
\ No newline at end of file

Index: duplicate_rout.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/duplicate_rout.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** duplicate_rout.ma	8 Jan 2006 18:23:11 -0000	1.1
--- duplicate_rout.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,8 ****
! pushc 1
! pushc 1
! pushc 1
! rout
! pushc 1
! pushc 1
! pushc 1
  rout
\ No newline at end of file
--- 1,8 ----
! pushc 1
! pushc 1
! pushc 1
! rout
! pushc 1
! pushc 1
! pushc 1
  rout
\ No newline at end of file

Index: hidAndLocToValue.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/hidAndLocToValue.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hidAndLocToValue.ma	12 Jan 2006 00:59:05 -0000	1.1
--- hidAndLocToValue.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,11 ****
! 		hid
! 		loc
! 		locToValue
! 		ceq
! 		rjumpc EQUAL
! 		pushc 2
! 		putled 
! 		halt
! EQUAL		pushc 1
! 		putled
  		halt
\ No newline at end of file
--- 1,11 ----
! 		hid
! 		loc
! 		locToValue
! 		ceq
! 		rjumpc EQUAL
! 		pushc 2
! 		putled 
! 		halt
! EQUAL		pushc 1
! 		putled
  		halt
\ No newline at end of file

Index: subtraction.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/subtraction.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** subtraction.ma	28 Jan 2006 23:19:05 -0000	1.1
--- subtraction.ma	18 May 2006 21:13:29 -0000	1.2
***************
*** 1,11 ****
! pushc 2
! pushc 1
! sub
! pop
! pushc 1
! setvar 15
! pushloc 1 2
! pushc 1
! sub
! pop
  halt
\ No newline at end of file
--- 1,11 ----
! pushc 2
! pushc 1
! sub
! pop
! pushc 1
! setvar 15
! pushloc 1 2
! pushc 1
! sub
! pop
  halt
\ No newline at end of file



More information about the Tinyos-contrib-commits mailing list