File: testcases.html

package info (click to toggle)
jsxgraph 1.3.5+dfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 26,044 kB
  • sloc: xml: 5,869; java: 1,072; python: 747; php: 192; makefile: 146; sh: 47
file content (69 lines) | stat: -rw-r--r-- 2,665 bytes parent folder | download | duplicates (2)
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
68
69
<html>
<head>
   <title>Intergeo test cases in JSXGraph</title>
   <link rel="stylesheet" type="text/css" href="/jsxgraph/distrib/jsxgraph.css" />
   <script type="text/javascript" src="/javascript/prototype/prototype.js"></script>
   <!--type="text/javascript" src="../../src/jsxgraphcore.js"></script>-->
   <!--<script type="text/javascript" src="../../src/loadjsxgraph.js"></script>-->
   <script type="text/javascript" src="../../src/loadjsxgraph.js"></script></head>
   <script type="text/javascript" src="../../src/IntergeoReader.js"></script></head>
<body>
  <h2>Intergeo test cases in JSXGraph</h2>
  <form><input type='button' value='Show XML' onclick='board.showXML()'></form>
  <div id="jxgbox" class="jxgbox" style="width:800px; height:500px;"></div>
  <div id="debug" style="display:block; margin-top:20px"></div>
   <script type="text/javascript">
    /* <![CDATA[ */
        fname = 'linesegment.xml';
//-------- good ----------
//fname = 'all.i2g';      // ok (GEONExT example)
//fname = 'center_of_three_points.xml';
//fname = 'endpoints_of_line_segment.xml'; //fname = 'linesegment.xml';
//fname = 'midpoint_of_line_segment.xml';
//fname = 'line_segment_by_points.xml';
//fname = 'line_through_two_points.xml';
//fname = 'midpoint_of_two_points.xml';
//fname = 'parallel_perpendicular_through.xml';
//fname = 'tangents_to_circle.xml';
//fname = 'intersections_circles_line.xml';
//fname = 'other_intersections.xml';
//fname = 'intergeo1.xml';

//fname = 'locus_parabola.xml';
//fname = 'locus_shadow.xml';
//fname = 'locus_frequency_duplicator.xml';
//fname = 'locus_cardioid.xml';

//fname = 'point.xml';
//fname = 'free_point.xml';
//-------  not good ---------

//-------  open ---------

//fname = 'conic.xml'; 

//fname = 'locus_pacman.xml';
//fname = 'line.xml';
//fname = 'circle.xml';

//fname = 'conic.xml';
//fname = 'Points.i2g';
//fname = 'all.xml';

//-------  new ---------
//fname = 'Examples2/lineangularbisectorofthreepoints.xml';       // ok
//fname = 'Examples2/line_angular_bisectors_of_two_lines.xml';    // ok
//fname = 'Examples2/polygon.xml';                                // ok
//fname = 'Examples2/ray_from_point_through_point.xml';           // ok
//fname = 'Examples2/vector_from_point_to_point.xml';             // ok
//fname = 'Examples2/ray_from_point_and_vector.xml';              // ok
fname = 'Examples2/trigogenangleratios-vggb4.i2g';              // 

//fname = 'stroke.xml';

        $('debug').innerHTML = fname+'<br>';
        board = JXG.JSXGraph.loadBoardFromFile('jxgbox', fname , 'Intergeo');
  /* ]]> */
  </script>
</body>
</html>