Commit 561bcda5 authored by Mike Kremer's avatar Mike Kremer
Browse files

Added unit tests on file reading and writing

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@37 66977474-1d4b-4f09-8fe9-267525286df2
parent b26a0ffb
Vertices
399
4.97203 0.504645 0.913112
4.83044 0.505476 0.769779
4.82961 1.00451 0.771905
4.97077 1.00384 0.915134
4.83073 0.501728 1.05754
4.68604 0.502512 0.914303
4.68531 1.00226 0.916288
4.82983 1.00163 1.05942
4.68749 0.498647 1.19805
4.54292 0.499308 1.05772
4.54228 0.99977 1.05956
4.68669 0.999252 1.19952
5.11469 0.505912 0.778909
4.97981 0.506592 0.620601
4.97849 1.0052 0.623241
5.1125 1.00466 0.78144
4.55693 0.49682 1.33728
4.398 0.497359 1.20304
4.39766 0.99828 1.20453
4.55645 0.997876 1.33796
4.68694 0.505937 0.628523
4.68627 1.00482 0.631019
4.54263 0.503057 0.769958
4.54206 1.00265 0.772042
4.40241 0.499939 0.913461
4.4022 1.00024 0.915401
4.82132 0.507049 0.48598
4.82016 1.00552 0.489424
4.26356 0.497958 1.04435
4.2641 0.998735 1.04594
5.11486 0.503595 1.04394
5.11263 1.00296 1.04563
4.98024 0.500981 1.20277
4.97881 1.00099 1.20433
4.82198 0.498316 1.33717
4.82066 0.998972 1.33787
5.2057 0.505248 0.910912
5.20164 1.00412 0.913034
4.69006 0.496545 1.42713
4.68914 0.997686 1.42597
4.55626 0.505554 0.486091
4.55595 1.00442 0.489505
4.39757 0.50297 0.62087
4.39735 1.00248 0.623442
4.26338 0.500275 0.779326
4.26397 1.00043 0.781753
4.68926 0.507123 0.395196
4.68855 1.00551 0.400473
4.17362 0.49842 0.911418
4.17604 0.999072 0.913408
5.3023 0.503772 0.670024
5.1558 0.5042 0.445327
5.15306 1.00335 0.449283
5.29879 1.00301 0.673222
4.45613 0.497774 1.5166
4.23119 0.498032 1.37036
4.2312 0.998611 1.37145
4.45536 0.998422 1.51696
4.93099 0.504434 0.298971
4.92903 1.00351 0.303663
4.08482 0.498436 1.14555
4.08561 0.998929 1.1474
5.30243 0.501994 1.14529
5.29889 1.00165 1.1472
5.15609 0.500452 1.37018
5.15328 1.00047 1.37132
4.93141 0.498922 1.51652
4.92936 0.999297 1.51689
5.38078 0.503153 0.907532
5.3757 1.00251 0.910091
4.69392 0.497874 1.59475
4.6925 0.998521 1.59356
4.45571 0.503286 0.299056
4.45504 1.00264 0.303728
4.2309 0.501781 0.445507
4.23099 1.00149 0.449421
4.08468 0.500215 0.670287
4.0855 1.00028 0.673424
4.69343 0.504291 0.220619
4.69213 1.00337 0.226855
4.00656 0.499012 0.907839
4.00894 0.99938 0.910323
5.55292 0.500015 0.549189
5.40648 0.500015 0.195636
5.40446 1 0.19873
5.55091 1 0.552284
4.34582 0.500015 1.7563
3.99226 0.500015 1.60985
3.99025 1 1.61294
4.3438 1 1.75939
5.05293 0.500015 0.0491894
5.05091 1 0.0522844
3.84582 0.500015 1.2563
3.8438 1 1.25939
5.55293 0.500015 1.2563
5.55091 1 1.25939
5.40648 0.500015 1.60985
5.40446 1 1.61294
5.05293 0.500015 1.7563
5.05091 1 1.75939
5.69937 0.500015 0.902742
5.69736 1 0.905837
4.69937 0.500015 1.90274
4.69736 1 1.90584
4.34582 0.500015 0.0491894
4.3438 1 0.0522844
3.99227 0.500015 0.195636
3.99025 1 0.19873
3.84582 0.500015 0.549189
3.8438 1 0.552283
4.69937 0.500015 -0.0972566
4.69736 1 -0.0941626
3.69937 0.500015 0.902742
3.69736 1 0.905837
4.82641 1.50545 0.775968
4.96799 1.50462 0.919301
4.68201 1.50248 0.920492
4.8267 1.5017 1.06373
4.53889 1.49928 1.06391
4.68346 1.49862 1.20424
4.97578 1.50656 0.62679
5.11066 1.50588 0.785098
4.39396 1.49733 1.20923
4.55289 1.49679 1.34347
4.68291 1.50591 0.634712
4.5386 1.50303 0.776147
4.39837 1.49991 0.919649
4.81729 1.50702 0.492169
4.25953 1.49793 1.05054
5.11083 1.50357 1.05013
4.97621 1.50095 1.20896
4.81795 1.49829 1.34336
5.20167 1.50522 0.917101
4.68603 1.49652 1.43332
4.55223 1.50553 0.492279
4.39354 1.50294 0.627059
4.25935 1.50025 0.785515
4.68523 1.5071 0.401385
4.16959 1.49839 0.917607
5.15177 1.50417 0.451516
5.29826 1.50374 0.676213
4.22716 1.49801 1.37654
4.45209 1.49775 1.52279
4.92696 1.50441 0.30516
4.08078 1.49841 1.15174
5.2984 1.50197 1.15147
5.15205 1.50042 1.37637
4.92738 1.4989 1.52271
5.37675 1.50313 0.913721
4.68988 1.49785 1.60094
4.45167 1.50326 0.305245
4.22687 1.50175 0.451696
4.08065 1.50019 0.676476
4.6894 1.50426 0.226808
4.00253 1.49898 0.914028
5.40245 1.49999 0.201825
5.54889 1.49999 0.555378
3.98823 1.49999 1.61604
4.34179 1.49999 1.76249
5.04889 1.49999 0.0553784
3.84179 1.49999 1.26249
5.54889 1.49999 1.26249
5.40245 1.49999 1.61604
5.04889 1.49999 1.76249
5.69534 1.49999 0.908931
4.69534 1.49999 1.90893
4.34179 1.49999 0.0553784
3.98823 1.49999 0.201825
3.84179 1.49999 0.555378
4.69534 1.49999 -0.0910676
3.69534 1.49999 0.908931
4.97066 0.00732165 0.913369
4.82823 0.0086649 0.77023
4.82874 0.00195406 1.05759
4.68423 0.00324299 0.914531
4.68571 -0.00354213 1.19906
4.54129 -0.00237728 1.05791
5.11579 0.0105542 0.777364
4.97814 0.0117178 0.620373
4.55343 -0.00727955 1.34092
4.39572 -0.00624472 1.204
4.6847 0.0096627 0.628314
4.54078 0.00433352 0.770551
4.39975 -0.00120112 0.914001
4.82076 0.0126906 0.483163
4.25841 -0.00514319 1.04672
5.11616 0.00574109 1.04591
4.97897 0.00080115 1.20348
4.82205 -0.00417306 1.34069
5.21652 0.00945916 0.911148
4.68835 -0.00797175 1.44049
4.55215 0.00958409 0.483393
4.39489 0.00467173 0.620895
4.25804 -0.000330132 0.77817
4.68674 0.0132154 0.382819
4.15857 -0.00421582 0.912161
5.3108 0.00634683 0.665964
5.16216 0.00703886 0.437449
4.45354 -0.00451695 1.52396
4.22472 -0.00400331 1.37564
4.93343 0.00753562 0.289048
4.07616 -0.00332823 1.14704
5.31105 0.00309692 1.14657
5.16267 0.000328033 1.37532
4.93419 -0.00241932 1.5238
5.39919 0.005382 0.90614
4.69403 -0.00453214 1.61197
4.45278 0.00543798 0.289204
4.22421 0.00270748 0.43777
4.07592 -7.83283e-05 0.66644
4.69311 0.00751844 0.20089
3.98795 -0.00239595 0.906717
5.55494 2.89149e-05 0.546095
5.40849 2.89149e-05 0.192542
4.34783 2.89149e-05 1.7532
3.99428 2.89149e-05 1.60676
5.05494 2.89149e-05 0.0460954
3.84783 2.89149e-05 1.2532
5.55494 2.89149e-05 1.2532
5.4085 2.89149e-05 1.60676
5.05494 2.89149e-05 1.7532
5.70139 2.89149e-05 0.899648
4.70139 2.89149e-05 1.89965
4.34784 2.89149e-05 0.0460954
3.99428 2.89149e-05 0.192541
3.84783 2.89149e-05 0.546095
4.70139 2.89149e-05 -0.100351
3.70139 2.89149e-05 0.899648
4.82016 2.00861 0.782607
4.96259 2.00727 0.925747
4.67616 2.00319 0.926908
4.82067 2.0019 1.06997
4.53322 1.99757 1.07029
4.67764 1.9964 1.21143
4.97007 2.01166 0.632751
5.10772 2.0105 0.789741
4.38766 1.9937 1.21638
4.54537 1.99267 1.3533
4.67664 2.00961 0.640692
4.53271 2.00428 0.782928
4.39168 1.99874 0.926378
4.8127 2.01264 0.495541
4.25034 1.9948 1.0591
5.10809 2.00569 1.05829
4.9709 2.00075 1.21585
4.81398 1.99577 1.35307
5.20845 2.0094 0.923526
4.68029 1.99197 1.45287
4.54408 2.00953 0.495771
4.38683 2.00462 0.633273
4.24998 1.99962 0.790548
4.67867 2.01316 0.395197
4.15051 1.99573 0.924539
5.1541 2.00698 0.449827
5.30274 2.00629 0.678342
4.21665 1.99594 1.38802
4.44547 1.99543 1.53634
4.92536 2.00748 0.301426
4.0681 1.99662 1.15942
5.30298 2.00304 1.15895
5.15461 2.00027 1.38769
4.92612 1.99753 1.53618
5.39112 2.00533 0.918518
4.68596 1.99541 1.62434
4.44472 2.00538 0.301581
4.21614 2.00265 0.450147
4.06785 1.99987 0.678817
4.68505 2.00746 0.213268
3.97989 1.99755 0.919094
5.40043 1.99997 0.204919
5.54688 1.99997 0.558473
3.98622 1.99997 1.61913
4.33977 1.99997 1.76558
5.04688 1.99997 0.0584733
3.83977 1.99997 1.26558
5.54688 1.99997 1.26558
5.40043 1.99997 1.61913
5.04688 1.99997 1.76558
5.69332 1.99997 0.912026
4.69332 1.99997 1.91203
4.33977 1.99997 0.0584733
3.98622 1.99997 0.204919
3.83977 1.99997 0.558472
4.69332 1.99997 -0.0879737
3.69332 1.99997 0.912026
4.96303 -0.487629 0.916001
4.82119 -0.485432 0.775013
4.82214 -0.497827 1.05758
4.6803 -0.495629 0.916594
4.68124 -0.508024 1.19916
4.5394 -0.505827 1.05818
5.10392 -0.477432 0.77442
4.96209 -0.475234 0.633431
4.54035 -0.518222 1.34075
4.39851 -0.516024 1.19976
4.67936 -0.483234 0.634024
4.53846 -0.493432 0.775605
4.39757 -0.503629 0.917187
4.82025 -0.473037 0.492442
4.25667 -0.513827 1.05877
5.10487 -0.489827 1.05699
4.96397 -0.500024 1.19857
4.82308 -0.510222 1.34015
5.24576 -0.479629 0.915408
4.68218 -0.520419 1.48174
4.53752 -0.481037 0.493035
4.39662 -0.491235 0.634617
4.25573 -0.501432 0.776198
4.67841 -0.470839 0.351454
4.11484 -0.51163 0.91778
5.33044 -0.488695 0.65871
5.1863 -0.487596 0.411439
4.4451 -0.50909 1.54543
4.1974 -0.507991 1.40171
4.9386 -0.486497 0.267721
4.05326 -0.506892 1.15444
5.33091 -0.494892 1.15355
5.18724 -0.499991 1.40112
4.94002 -0.50509 1.54513
5.47458 -0.489793 0.905981
4.69279 -0.510188 1.68914
4.44369 -0.490497 0.268018
4.19646 -0.495596 0.412032
4.05279 -0.500695 0.659599
4.69091 -0.485398 0.124004
3.90912 -0.505794 0.907167
5.55696 -0.499957 0.543
5.41051 -0.499957 0.189447
4.34985 -0.499957 1.75011
3.9963 -0.499957 1.60366
5.05696 -0.499957 0.0430014
3.84985 -0.499957 1.25011
5.55696 -0.499957 1.25011
5.41051 -0.499957 1.60366
5.05696 -0.499957 1.75011
5.7034 -0.499957 0.896554
4.7034 -0.499957 1.89655
4.34985 -0.499957 0.0430004
3.9963 -0.499957 0.189447
3.84985 -0.499957 0.543
4.70341 -0.499957 -0.103446
3.7034 -0.499957 0.896554
4.80909 2.51449 0.793579
4.95093 2.51229 0.934568
4.6682 2.50429 0.935161
4.81004 2.50209 1.07615
4.52731 2.49409 1.07674
4.66914 2.49189 1.21773
4.94999 2.52468 0.651998
5.09182 2.52249 0.792986
4.38641 2.48389 1.21832
4.52825 2.4817 1.35931
4.66726 2.51668 0.652591
4.52636 2.50649 0.794172
4.38547 2.49629 0.935754
4.80815 2.52688 0.511009
4.24458 2.48609 1.07734
5.09277 2.51009 1.07556
4.95187 2.49989 1.21714
4.81098 2.4897 1.35872
5.23366 2.52029 0.933975
4.67009 2.4795 1.5003
4.52542 2.51888 0.511602
4.38453 2.50868 0.653183
4.24363 2.49849 0.794765
4.66631 2.52908 0.37002
4.10274 2.48829 0.936347
5.1742 2.51232 0.430006
5.31834 2.51122 0.677277
4.18531 2.49193 1.42028
4.433 2.49083 1.56399
4.92651 2.51342 0.286288
4.04116 2.49303 1.17301
5.31881 2.50503 1.17212
5.17514 2.49993 1.41968
4.92792 2.49483 1.5637
5.46248 2.51012 0.924548
4.6807 2.48973 1.70771
4.43159 2.50942 0.286584
4.18436 2.50432 0.430598
4.04069 2.49922 0.678166
4.67881 2.51452 0.142571
3.89702 2.49412 0.925733
5.39841 2.49996 0.208014
5.54486 2.49996 0.561567
3.9842 2.49996 1.62223
4.33775 2.49996 1.76867
5.04486 2.49996 0.0615674
3.83775 2.49996 1.26867
5.54486 2.49996 1.26867
5.39841 2.49996 1.62223
5.04486 2.49996 1.76867
5.69131 2.49996 0.91512
4.69131 2.49996 1.91512
4.33775 2.49996 0.0615674
3.9842 2.49996 0.208013
3.83775 2.49996 0.561567
4.69131 2.49996 -0.0848786
3.69131 2.49996 0.91512
Edges
1070
0 4
4 7
7 3
3 0
1 5
5 6
6 2
2 1
0 1
5 4
3 2
6 7
8 11
11 10
10 9
9 8
4 8
11 7
10 6
9 5
12 13
13 14
14 15
15 12
0 12
13 1
14 2
15 3
16 19
19 18
18 17
17 16
8 16
19 11
18 10
17 9
20 22
22 23
23 21
21 20
22 24
24 25
25 23
21 27
27 26
26 20
24 28
28 29
29 25
1 20
22 5
23 6
21 2
24 9
25 10
27 14
26 13
28 17
29 18
30 31
31 33
33 32
32 30
33 35
35 34
34 32
30 36
36 37
37 31
35 39
39 38
38 34
0 30
31 3
33 7
32 4
35 11
34 8
36 12
37 15
39 19
38 16
40 42
42 43
43 41
41 40
42 44
44 45
45 43
41 47
47 46
46 40
44 48
48 49
49 45
20 40
42 22
43 23
41 21
44 24
45 25
47 27
46 26
48 28
49 29
50 51
51 52
52 53
53 50
54 57
57 56
56 55
55 54
51 58
58 59
59 52
56 61
61 60
60 55
62 63
63 65
65 64
64 62
65 67
67 66
66 64
62 68
68 69
69 63
67 71
71 70
70 66
53 69
68 50
54 70
71 57
72 74
74 75
75 73
73 72
74 76
76 77
77 75
73 79
79 78
78 72
76 80
80 81
81 77
58 78
79 59
61 81
80 60
12 50
51 13
52 14
53 15
16 54
57 19
56 18
55 17
58 26
59 27
61 29
60 28
30 62
63 31
65 33
64 32
67 35
66 34
68 36
69 37
71 39
70 38
40 72
74 42
75 43
73 41
76 44
77 45
79 47
78 46
80 48
81 49
82 83
83 84
84 85
85 82
86 89
89 88
88 87
87 86
83 90
90 91
91 84
88 93
93 92
92 87
94 95
95 97
97 96
96 94
97 99
99 98
98 96
94 100
100 101
101 95
99 103
103 102
102 98
85 101
100 82
86 102
103 89
104 106
106 107
107 105
105 104
106 108
108 109
109 107
105 111
111 110
110 104
108 112
112 113
113 109
90 110
111 91
93 113
112 92
50 82
83 51
84 52
85 53
54 86
89 57
88 56
87 55
90 58
91 59
93 61
92 60
62 94
95 63
97 65
96 64