(self)
| 12 | """ |
| 13 | |
| 14 | def test_init(self): |
| 15 | ma = MatplotlibAnalyzer() |
| 16 | assert plt.isinteractive() |
| 17 | |
| 18 | ta = TensorboardAnalyzer("./logs/init") |
| 19 | |
| 20 | # check to ensure path was written |
| 21 | assert os.path.isdir("./logs/init") |
| 22 | |
| 23 | # check to ensure we can write data |
| 24 | ta.writer.add_scalar("init_scalar", 100.0, 0) |
| 25 | ta.writer.close() |
| 26 | |
| 27 | def test_plot_runs(self): |
| 28 | ma = MatplotlibAnalyzer() |
no test coverage detected