summaryrefslogtreecommitdiff
path: root/modules/graphics/tests/unit_tests/arc.dia.ref
blob: 98199e916f7aaec8af6a9860f68de681f3343aa3 (plain)
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
63
64
65
66
67
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011 - DIGITEO - Bruno JOFRET
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- TEST WITH GRAPHIC -->
// test arc object
// Check each default property
xarc(-1,1,2,2,0,90*64);
e = gce();
assert_checkequal(e.parent.type, "Axes")
 ans  =

  T
assert_checkequal(e.children, [])
 ans  =

  T
assert_checkequal(e.thickness, 1)
 ans  =

  T
assert_checkequal(e.line_style, 1)
 ans  =

  T
assert_checkequal(e.line_mode, "on")
 ans  =

  T
assert_checkequal(e.fill_mode, "off")
 ans  =

  T
assert_checkequal(e.foreground, -1)
 ans  =

  T
assert_checkequal(e.background, -2)
 ans  =

  T
assert_checkequal(e.data, [-1 1 2 2 0 90])
 ans  =

  T
assert_checkequal(e.visible, "on")
 ans  =

  T
assert_checkequal(e.arc_drawing_method, "lines")
 ans  =

  T
assert_checkequal(e.clip_state, "off")
 ans  =

  T
assert_checkequal(e.clip_box, [])
 ans  =

  T
assert_checkequal(e.user_data, [])
 ans  =

  T