release/4.3a0
Frank Dellaert 2022-01-31 08:36:31 -05:00
parent 06fb94144b
commit 113fbf10fe
3 changed files with 16 additions and 16 deletions

View File

@ -5,8 +5,8 @@ All Rights Reserved
See LICENSE for the license information See LICENSE for the license information
Unit tests for Linear Factor Graphs. Unit tests for Gaussian Bayes Nets.
Author: Frank Dellaert & Gerry Chen Author: Frank Dellaert
""" """
# pylint: disable=invalid-name, no-name-in-module, no-member # pylint: disable=invalid-name, no-name-in-module, no-member

View File

@ -78,7 +78,7 @@ class TestGraphvizFormatting(GtsamTestCase):
graphviz_formatting.paperHorizontalAxis = gtsam.GraphvizFormatting.Axis.X graphviz_formatting.paperHorizontalAxis = gtsam.GraphvizFormatting.Axis.X
graphviz_formatting.paperVerticalAxis = gtsam.GraphvizFormatting.Axis.Y graphviz_formatting.paperVerticalAxis = gtsam.GraphvizFormatting.Axis.Y
self.assertEqual(self.graph.dot(self.values, self.assertEqual(self.graph.dot(self.values,
formatting=graphviz_formatting), writer=graphviz_formatting),
textwrap.dedent(expected_result)) textwrap.dedent(expected_result))
def test_factor_points(self): def test_factor_points(self):
@ -100,7 +100,7 @@ class TestGraphvizFormatting(GtsamTestCase):
graphviz_formatting.plotFactorPoints = False graphviz_formatting.plotFactorPoints = False
self.assertEqual(self.graph.dot(self.values, self.assertEqual(self.graph.dot(self.values,
formatting=graphviz_formatting), writer=graphviz_formatting),
textwrap.dedent(expected_result)) textwrap.dedent(expected_result))
def test_width_height(self): def test_width_height(self):
@ -127,7 +127,7 @@ class TestGraphvizFormatting(GtsamTestCase):
graphviz_formatting.figureHeightInches = 10 graphviz_formatting.figureHeightInches = 10
self.assertEqual(self.graph.dot(self.values, self.assertEqual(self.graph.dot(self.values,
formatting=graphviz_formatting), writer=graphviz_formatting),
textwrap.dedent(expected_result)) textwrap.dedent(expected_result))