Predloga:Koord/dec2dms/testniprimeri

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search

Testing the subroutines[uredi kodo]

d

45° should be 45°
73° should be 73°
50° should be 50°
50° should be 50°
0° should be 0°
369° should be 9°

d1

Predloga:Koord/dec2dms/d1 should be 45.5°
Predloga:Koord/dec2dms/d1 should be 73.0°
Predloga:Koord/dec2dms/d1 should be 50.0°
Predloga:Koord/dec2dms/d1 should be 50.2°
Predloga:Koord/dec2dms/d1 should be 0.0°
Predloga:Koord/dec2dms/d1 should be 9.0°

dm

45°29′ should be 45°29′
73°02′ should be 73°02′
50°00′ should be 50°00′
50°12′ should be 50°12′
0°01′ should be 0°01′
9°01′ should be 9°01′

dm1

Predloga:Koord/dec2dms/dm1 should be 45°28.9′
Predloga:Koord/dec2dms/dm1 should be 73°02.5′
Predloga:Koord/dec2dms/dm1 should be 50°00.0′
Predloga:Koord/dec2dms/dm1 should be 50°12.0′
Predloga:Koord/dec2dms/dm1 should be 0°00.1′
Predloga:Koord/dec2dms/dm1 should be 9°00.1′

dms

45°28′55″ should be 45°28′55″
73°02′28″ should be 73°02′28″
50°00′00″ should be 50°00′00″
50°12′00″ should be 50°12′00″
0°00′03″ should be 0°00′03″
9°00′03″ should be 9°00′03″

dms1

45°28′55.2″ should be 45°28′55.2″
73°02′27.6″ should be 73°02′27.6″
49°59′59.6″ should be 49°59′59.6″
50°00′00.0″ should be 50°00′00.0″
50°12′00.0″ should be 50°12′00.0″
0°00′03.2″ should be 0°00′03.2″
0°00′12.0″ should be 0°00′12.0″
9°00′03.2″ should be 9°00′03.2″