Esempio n. 1
0
    def test_plot_freq_hists_single_run(self):
        """plot_utils.plot_freq_hists() works with a single run"""

        run = trappy.Run()

        plot_utils.plot_freq_hists([run], self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 2
0
    def test_plot_freq_hists_single_run(self):
        """plot_utils.plot_freq_hists() works with a single run"""

        run = trappy.Run()

        plot_utils.plot_freq_hists([run], self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 3
0
    def test_plot_freq_hists_single_trace(self):
        """plot_utils.plot_freq_hists() works with a single trace"""

        trace = trappy.FTrace()

        plot_utils.plot_freq_hists([trace], self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 4
0
    def test_plot_freq_hists_single_trace(self):
        """plot_utils.plot_freq_hists() works with a single trace"""

        trace = trappy.FTrace()

        plot_utils.plot_freq_hists([trace], self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 5
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_freq_hists(runs, self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 6
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        run1 = trappy.Run(name="first")
        run2 = trappy.Run(name="second")
        runs = [run1, run2]

        plot_utils.plot_freq_hists(runs, self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 7
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_freq_hists(traces, self.map_label)
        matplotlib.pyplot.close('all')
Esempio n. 8
0
    def test_plot_freq_hists(self):
        """plot_utils.plot_freq_hists() doesn't bomb"""

        trace1 = trappy.FTrace(name="first")
        trace2 = trappy.FTrace(name="second")
        traces = [trace1, trace2]

        plot_utils.plot_freq_hists(traces, self.map_label)
        matplotlib.pyplot.close('all')