def test_edge_cases_visualization_empty_subplot(self):
        """`visualization.Visualization.empty_subplot`: Edge Case Validator.

        Tests the behavior of `Visualization.empty_subplot` with edge cases.

        Raises:
            Exception: If at least one `Exception` raised is not of the expected
                kind.

        """
        v = Visualization("Title", (1, 1))
        """Visualization: Plotter instance."""

        with self.assertRaises(IndexError):
            # Subplot index out of range.
            v._empty_subplot(1)

        v.close()
    def test_invalid_args_visualization_empty_subplot(self):
        """`visualization.Visualization.empty_subplot`: Argument Validator.

        Tests the behavior of `Visualization.empty_subplot` with invalid
        argument counts and values.

        Raises:
            Exception: If at least one `Exception` raised is not of the expected
                kind.

        """
        v = Visualization("Title", (1, 1))
        """Visualization: Plotter instance."""

        with self.assertRaises(TypeError):
            # No arguments.
            v._empty_subplot()

        with self.assertRaises(TypeError):
            # Too many arguments.
            v._empty_subplot(0, 0)

        with self.assertRaises(TypeError):
            # Non-integer index `i`.
            v._empty_subplot(None)

        v.close()
    def test_random_visualization_empty_subplot(self):
        """`visualization.Visualization.empty_subplot`: Randomized Validator.

        Tests the behavior of `Visualization.empty_subplot` by feeding it
        randomly generated arguments.

        Raises:
            AssertionError: If `Visualization.empty_subplot` needs debugging.

        """
        for i in range(self.n_tests):
            v = Visualization("Title", (3, 3))
            """Visualization: Plotter instance."""

            for i in range(9):
                v._empty_subplot(i)

                # There should be x- or y-ticks.
                self.assertEqual(len(v._ax[i].get_xticks()), 0)
                self.assertEqual(len(v._ax[i].get_yticks()), 0)

            v.close()