addPointNormalized() takes panel arg

addPointNormalized() takes panel arg

--- Assets/graphDrawControl.cs
+++ Assets/graphDrawControl.cs
@@ -11,7 +11,7 @@

 	private GameObject lineGroup; // for grouping
 	List<Vector2> my2DPoint;
-	public GameObject panel;
+	public GameObject myPanel;
 	public Canvas myCanvas; // to obtain canvas.scale

 	void DrawLine(List<Vector2> my2DVec, int startPos) {
@@ -33,7 +33,7 @@
 		newLine.transform.parent = lineGroup.transform; // for grouping
 	}

-	void drawGraph() {
+	void drawGraph(GameObject panel) {
 		if (lineGroup != null) {
 			Destroy (lineGroup.gameObject);
 		}
@@ -46,7 +46,7 @@
 		lineGroup.transform.parent = panel.transform; // to belong to panel
 	}

-	void addPointNormalized(Vector2 point)
+	void addPointNormalized(GameObject panel, Vector2 point)
 	{
 		// point: normalized point data [-1.0, 1.0] for each of x, y

@@ -66,13 +66,13 @@
 	}

 	void Test_drawBox(){
-		addPointNormalized (new Vector2 (-1.0f, -1.0f));
-		addPointNormalized (new Vector2 (-1.0f, 1.0f));
-		addPointNormalized (new Vector2 (1.0f, 1.0f));
-		addPointNormalized (new Vector2 (1.0f, -1.0f));
-		addPointNormalized (new Vector2 (-1.0f, -1.0f));
+		addPointNormalized (myPanel, new Vector2 (-1.0f, -1.0f));
+		addPointNormalized (myPanel, new Vector2 (-1.0f, 1.0f));
+		addPointNormalized (myPanel, new Vector2 (1.0f, 1.0f));
+		addPointNormalized (myPanel, new Vector2 (1.0f, -1.0f));
+		addPointNormalized (myPanel, new Vector2 (-1.0f, -1.0f));

-		drawGraph ();
+		drawGraph (myPanel);
 	}

 	void Start () {


Documented AtomLink.Parse.

Documented AtomLink.Parse.

--- AtomEventStore/AtomLink.cs
+++ AtomEventStore/AtomLink.cs
@@ -195,6 +195,18 @@
             this.WriteTo(xmlWriter);
         }

+        /// <summary>
+        /// Parses the specified XML into an instance of
+        /// <see cref="AtomLink" />.
+        /// </summary>
+        /// <param name="xml">
+        /// A string of characters containing the XML representation of an Atom
+        /// link.
+        /// </param>
+        /// <returns>
+        /// A new instance of <see cref="AtomLink" /> containing the data from
+        /// the supplied <paramref name="xml" />.
+        /// </returns>
         public static AtomLink Parse(string xml)
         {
             var sr = new StringReader(xml);


Changed naming of some unit tests to be more consistent

--- Jace.Tests/CalculationEngineTests.cs
+++ Jace.Tests/CalculationEngineTests.cs
@@ -160,7 +160,7 @@
         }

         [TestMethod]
-        public void TestFunctionBuilder()
+        public void TestFormulaBuilder()
         {
             CalculationEngine engine = new CalculationEngine();
             Func<int, double, double> function = (Func<int, double, double>)engine.Formula("var1+2*(3*age)")
@@ -174,7 +174,7 @@
         }

         [TestMethod]
-        public void TestFunctionBuilderCompiled()
+        public void TestFormulaBuilderCompiled()
         {
             CalculationEngine engine = new CalculationEngine(CultureInfo.InvariantCulture, ExecutionMode.Compiled);
             Func<int, double, double> function = (Func<int, double, double>)engine.Formula("var1+2*(3*age)")
@@ -189,7 +189,7 @@

         [TestMethod]
         [ExpectedException(typeof(ArgumentException))]
-        public void TestFunctionBuilderInvalidParameterName()
+        public void TestFormulaBuilderInvalidParameterName()
         {
             CalculationEngine engine = new CalculationEngine();
             Func<int, double, double> function = (Func<int, double, double>)engine.Formula("sin+2")
@@ -199,7 +199,7 @@

         [TestMethod]
         [ExpectedException(typeof(ArgumentException))]
-        public void TestFunctionBuilderDuplicateParameterName()
+        public void TestFormulaBuilderDuplicateParameterName()
         {
             CalculationEngine engine = new CalculationEngine();
             Func<int, double, double> function = (Func<int, double, double>)engine.Formula("var1+2")