kopia lustrzana https://github.com/OpenRTX/OpenRTX
Add more test cases for coordinate conversion
rodzic
c713c3c77d
commit
ad367d4301
|
@ -24,6 +24,12 @@ int main() {
|
|||
test.scale = 1000;
|
||||
test.value = -5333735;
|
||||
assert_conversion(&test, -53562250);
|
||||
test.scale = 1000;
|
||||
test.value = -330;
|
||||
assert_conversion(&test, -5500);
|
||||
test.scale = 1000;
|
||||
test.value = -3296;
|
||||
assert_conversion(&test, -54933);
|
||||
printf("PASS\n");
|
||||
|
||||
return 0;
|
||||
|
|
Ładowanie…
Reference in New Issue