From 51a6b9cc2ea2f2f303201edf1ddef30d68053350 Mon Sep 17 00:00:00 2001 From: Mark Driver <mdd31@alumni.cam.ac.uk> Date: Fri, 27 Mar 2020 09:42:21 +0000 Subject: [PATCH] update tests based on changes to solventmapcreator. --- phasecalculator/test/analysistest/fgipanalysistest.py | 4 ++-- phasecalculator/test/runnerstest/fgipanalysisrunnertest.py | 4 ++-- phasecalculator/test/runnerstest/phasecalculatorrunnertest.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/phasecalculator/test/analysistest/fgipanalysistest.py b/phasecalculator/test/analysistest/fgipanalysistest.py index cbef618..c70315e 100755 --- a/phasecalculator/test/analysistest/fgipanalysistest.py +++ b/phasecalculator/test/analysistest/fgipanalysistest.py @@ -64,8 +64,8 @@ class FGIPAnalysisTestCase(unittest.TestCase): self.expected_latex = r""" \begin{figure}[H] \centering - \includegraphics[width=0.5\textwidth]{1-butanol0_165water0_835_FGIP.eps} - \caption[1-butanol0.165water0.835 FGIP]{FGIP for 1-butanol0.165water0.835 at 298K.} + \includegraphics[width=0.95\textwidth]{1-butanol0_165water0_835_FGIP.eps} + \caption{FGIP for 1-butanol0.165water0.835 at 298K.} \label{fig:1-butanol0_165water0_835solvationmap} \end{figure} """ diff --git a/phasecalculator/test/runnerstest/fgipanalysisrunnertest.py b/phasecalculator/test/runnerstest/fgipanalysisrunnertest.py index 4cf9691..6b00b1d 100755 --- a/phasecalculator/test/runnerstest/fgipanalysisrunnertest.py +++ b/phasecalculator/test/runnerstest/fgipanalysisrunnertest.py @@ -84,8 +84,8 @@ class FGIPAnalysisRunnerTestCase(unittest.TestCase): self.expected_latex = r""" \begin{figure}[H] \centering - \includegraphics[width=0.5\textwidth]{fgip/298_0K/1-butanol0_165water0_835_FGIP.eps} - \caption[1-butanol0.165water0.835 FGIP]{FGIP for 1-butanol0.165water0.835 at 298K.} + \includegraphics[width=0.95\textwidth]{fgip/298_0K/1-butanol0_165water0_835_FGIP.eps} + \caption{FGIP for 1-butanol0.165water0.835 at 298K.} \label{fig:1-butanol0_165water0_835solvationmap} \end{figure} """ diff --git a/phasecalculator/test/runnerstest/phasecalculatorrunnertest.py b/phasecalculator/test/runnerstest/phasecalculatorrunnertest.py index 2966b80..7ccd815 100755 --- a/phasecalculator/test/runnerstest/phasecalculatorrunnertest.py +++ b/phasecalculator/test/runnerstest/phasecalculatorrunnertest.py @@ -121,8 +121,8 @@ class PhaseCalculatorRunnerTestCase(unittest.TestCase): self.expected_latex = r""" \begin{figure}[H] \centering - \includegraphics[width=0.5\textwidth]{fgip/298_0K/1-butanol0_165water0_835_FGIP.eps} - \caption[1-butanol0.165water0.835 FGIP]{FGIP for 1-butanol0.165water0.835 at 298K.} + \includegraphics[width=0.95\textwidth]{fgip/298_0K/1-butanol0_165water0_835_FGIP.eps} + \caption{FGIP for 1-butanol0.165water0.835 at 298K.} \label{fig:1-butanol0_165water0_835solvationmap} \end{figure} """ -- GitLab