]> www.wagner.pp.ru Git - oss/fgis.git/blob - lib/test/testdata.dat
First checked in version
[oss/fgis.git] / lib / test / testdata.dat
1 # create test file 
2 create test8.epp 100 100 255 8
3 put 1 1 20
4 put 100 1 29
5 # get shouldn't work here
6 get 1 10
7 put 1 40 20
8 # testing if we are allowed to change values above current line
9 put 10 10 20
10 line 10 90 80 30
11 # This line should produce error
12 line 10 90 70 22
13 # this too
14 line 10 90 120 22
15 # this line should be drawn partially
16 line 90 120 85 22
17 # this line too
18 line -20 20 86 23
19 # and this wouldn't be drawn at all
20 line 120 180 87 23
21 put 1 100 30
22 put 100 100 25
23 # resetting file in read mode 
24 reset
25 put 1 1 10
26 get 1 1
27 get 100 1
28 get 1 100
29 get 100 100
30 get 1 40
31 get 1 30
32 load test8.epp
33 # testing if file is loaded correc
34 # testing decrease of max when value filled with offsite
35 put 20 20 40 
36 get 5 10
37 put 20 20 255
38 line 10 90 80 255
39 # testing if we are allowed to change values above current line
40 put 10 10 20
41 # testing minimum support
42 put 40 40 1
43 put 40 40 20
44 put 50 50 3
45 put 50 50 255
46 # testing decrease of max when value filled with another value
47 put 10 20 50 
48 put 10 20 20 
49 # testing what happens if we are trying to work with point outside file
50 put 101 8 8
51 get 101 8
52 # do something else
53 put 8 8 5
54 get 1 1
55 get 1 100
56 get 100 1
57 get 100 100