Index: tol_tests/tol/Bugzilla/bug_001016/test.tol
===================================================================
--- tol_tests/tol/Bugzilla/bug_001016/test.tol	(revision 65b06dab1a1a71a97ad2caab2f58d746c3699dbd)
+++ tol_tests/tol/Bugzilla/bug_001016/test.tol	(revision 65b06dab1a1a71a97ad2caab2f58d746c3699dbd)
@@ -0,0 +1,48 @@
+/* -*- mode: C++ -*- */
+//////////////////////////////////////////////////////////////////////////////
+// FILE   : test.tol
+// PURPOSE: test for a resolved bug
+//////////////////////////////////////////////////////////////////////////////
+
+//Sets the bugzilla identifier number, your e-mail and the bugŽs summary
+  Real bugNum_ =  1016;
+  Text email_ = "vdebuen@tol-project.org"; 
+  Text summary_="problema con la función Unique";
+  Text link_ = GetTolBugzillaLink(bugNum_);
+
+  //Write here the initial test TOL code if needed
+  Real numErr0 = Copy(NError);
+  Real numWar0 = Copy(NWarning);
+
+  NameBlock A1 = [[
+    Real a = 1,
+    Real b = 2,
+    Real c = 3
+  ]];
+  NameBlock A2 = [[
+    Real a = 1,
+    Real b = 2
+  ]];
+  Set AB = [[A1, A2]];
+  Set C = Unique(AB); 
+  
+  Real numErr1 = Copy(NError);
+  Real numWar1 = Copy(NWarning);
+
+
+  Set partialResults_ = [[ numErr0, numErr1, q1, q2]];
+
+//This is a messure of the success of the test 
+  Real quality_ = And(numErr1 == numErr0, 
+                      numWar1 == numWar0)*q1*q2;
+
+//Return the results 
+  Set resultStr_ = @strTestStatus(summary_, link_, quality_,
+                    "Partial results = "<<partialResults_,
+                    "NO DBServerType", "NO DBServerHost", "NO DBAlias",
+                    email_);
+  WriteLn(""<<resultStr_);
+  resultStr_;
+
+/* */
+
