Single line test
(self)
| 152 | ) |
| 153 | |
| 154 | def test_single_numeric_text(self): |
| 155 | """Single line test""" |
| 156 | single_text = self.data[self.data["text"] == "a"] |
| 157 | ch = chartify.Chart() |
| 158 | ch.plot.text(single_text, x_column="number1", y_column="number2", text_column="text") |
| 159 | assert np.array_equal(chart_data(ch, "")["number1"], [1.0, 2.0, 3.0]) |
| 160 | assert np.array_equal(chart_data(ch, "")["number2"], [5, 10, 0]) |
| 161 | assert np.array_equal(chart_data(ch, "")["text"], ["a", "a", "a"]) |
| 162 | |
| 163 | def test_multi_numeric_text(self): |
| 164 | """Single line test""" |
nothing calls this directly
no test coverage detected