
diff -r 88a01948450d -r d33698326409 testing-debugging/quickref.tex
--- a/testing-debugging/quickref.tex	Wed Nov 17 23:24:57 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-Skeleton of a test:\\
-{\ex \lstinline| if __name__ == '__main__':|}
-{\ex \lstinline|      result = gcd(48, 64) |}  
-{\ex \lstinline|      if result != 16:     |}
-{\ex \lstinline|           print ``Test Failed'' |}
-{\ex \lstinline|      print ``Test Passed''      |}
-
-
-\textbf{Testing}
-
-Get results from function or unit of code being tested.Compare it to original output. Test passed if they match else failed.
-
-\textbf{Code Style} 
-Four Space Indentation
-79 character limit on a line
-Funtions should be seperated by 
-blank line
-Use Docstring
-White space around operators 
-   
-Skeleton of try catch:\\
-{\ex \lstinline|     try:                  |}
-{\ex \lstinline|      	  num = int(a)     |}
-{\ex \lstinline|     except:               |}
-{\ex \lstinline|         print ``Wrong input...'' |}
-
-Starting debugger in ipython:\\
-{\ex \lstinline|     %debug                  |}




