/
test_Goulib_plot.py
62 lines (49 loc) · 1.53 KB
/
test_Goulib_plot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
# coding: utf8
from nose.tools import assert_equal
from nose import SkipTest
from Goulib.tests import *
from Goulib.plot import *
class TestPlot:
def test_latex(self):
# plot = Plot()
# assert_equal(expected, plot.latex())
raise SkipTest
def test_png(self):
# plot = Plot()
# assert_equal(expected, plot.png())
raise SkipTest
def test_svg(self):
# plot = Plot()
# assert_equal(expected, plot.svg())
raise SkipTest
def test_plot(self):
# plot = Plot()
# assert_equal(expected, plot.plot(**kwargs))
raise SkipTest
def test_render(self):
# plot = Plot()
# assert_equal(expected, plot.render(fmt, **kwargs))
raise SkipTest
def test_save(self):
# plot = Plot()
# assert_equal(expected, plot.save(filename, **kwargs))
raise SkipTest
def test_html(self):
# plot = Plot()
# assert_equal(expected, plot.html(**kwargs))
raise SkipTest # implement your test here
class TestPng:
def test_png(self):
# assert_equal(expected, png(plotables, **kwargs))
raise SkipTest
class TestSvg:
def test_svg(self):
# assert_equal(expected, svg(plotables, **kwargs))
raise SkipTest
class TestSave:
def test_save(self):
# assert_equal(expected, save(plotables, filename, **kwargs))
raise SkipTest
if __name__=="__main__":
runmodule()