From 86e6dc6f447eaeed0fc7f31ca98601ed366adff2 Mon Sep 17 00:00:00 2001
From: Jay Rainey <jawrainey@gmail.com>
Date: Thu, 5 Jun 2014 13:40:15 +0100
Subject: [PATCH] Correct testoutput for some algorithms. Refs #9585.

---
 .../source/algorithms/ConvertToDistribution-v1.rst    | 11 +++++------
 .../docs/source/algorithms/UnwrapMonitor-v1.rst       |  2 +-
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst b/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
index d423d9edab9..82360a1aa3c 100644
--- a/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/ConvertToDistribution-v1.rst
@@ -26,14 +26,13 @@ Usage
     ws_multi = CreateSampleWorkspace("Histogram", "Multiple Peaks")
 
     print "Is the workspace a distribution? " + str(ws_multi.isDistribution())
-
-    print "The workspace has a level backgound of " + str(ws_multi.readY(0)[0]) + " counts."
-    print "The largest of which is " + str(ws_multi.readY(0)[60]) + " counts."
+    print "The workspace has a level background of " + str(ws_multi.readY(0)[0]) + " counts."
+    print "The largest of which is " + str(ws_multi.readY(0)[60]) + " counts." + "\n"
 
     ConvertToDistribution(ws_multi)
 
     print "Is the workspace a distribution? " + str(ws_multi.isDistribution())
-    print "The workspace has a level backgound of " + str(ws_multi.readY(0)[0]) + " counts."
+    print "The workspace has a level background of " + str(ws_multi.readY(0)[0]) + " counts."
     print "The largest of which is " + str(ws_multi.readY(0)[60]) + " counts."
 
 Output:
@@ -41,11 +40,11 @@ Output:
 .. testoutput:: ConvertToDistribution
 
     Is the workspace a distribution? False
-    The workspace has a level backgound of 0.3 counts.
+    The workspace has a level background of 0.3 counts.
     The largest of which is 8.3 counts.
 
     Is the workspace a distribution? True
-    The workspace has a level backgound of 0.0015 counts.
+    The workspace has a level background of 0.0015 counts.
     The largest of which is 0.0415 counts.
 
 .. categories::
diff --git a/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst b/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
index 1799e12d621..2df5f68d8a0 100644
--- a/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
+++ b/Code/Mantid/docs/source/algorithms/UnwrapMonitor-v1.rst
@@ -106,6 +106,6 @@ Output:
 
 .. testoutput:: UnwrapMonitor
 
-    JoinWaveLength is: 1.4241722326403834
+    JoinWaveLength is: 1.42417223264
 
 .. categories::
-- 
GitLab