Skip to content
Snippets Groups Projects
test_transform_test_scaleoffsetxform.txt 527 B
# Test data for test_transform:test_scaleOffsetXform.
#
# The first line specifies the scale and 
# offset parameters (separated with a comma).
# This is followed by the expected
# 
# 
1, 0
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

1 1, 0
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

1 1 1, 0
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

1, 1
1 0 0 1
0 1 0 0
0 0 1 0
0 0 0 1

1 1, 1 1
1 0 0 1
0 1 0 1
0 0 1 0
0 0 0 1

1 1 1, 1 1 1
1 0 0 1
0 1 0 1
0 0 1 1
0 0 0 1

1 2 3, 4 5 6
1 0 0 4
0 2 0 5
0 0 3 6
0 0 0 1

1 10, 20 5 5
1 0  0 20
0 10 0 5
0 0  1 5
0 0  0 1