diff options
author | Minjune Kim <sena06.kim@samsung.com> | 2012-08-21 18:10:16 +0900 |
---|---|---|
committer | Minjune Kim <sena06.kim@samsung.com> | 2012-08-21 18:10:16 +0900 |
commit | 924a071a70171da7d2512199f777020a55ae9056 (patch) | |
tree | 949e0f38cfa178c08006c206580ded405a4b9bca /test/location_test.c | |
parent | b9a903e9aa68c84fd8afa728d137e081ab298bc2 (diff) | |
download | location-manager-master.tar.gz location-manager-master.tar.bz2 location-manager-master.zip |
Release Tizen2.0 betaHEADsubmit/master/20120920.1510252.0_alphamaster2.0alpha
Diffstat (limited to 'test/location_test.c')
-rw-r--r--[-rwxr-xr-x] | test/location_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/location_test.c b/test/location_test.c index 995338b..ea83a0a 100755..100644 --- a/test/location_test.c +++ b/test/location_test.c @@ -232,10 +232,10 @@ void location_bounds_test() test_coords.latitude = 12; test_coords.longitude = 12; - if (location_bounds_is_contains_coordinates(bounds_poly, test_coords)) - printf("location_bounds_is_contains_coordinates() retrun TRUE \n"); + if (location_bounds_contains_coordinates(bounds_poly, test_coords)) + printf("location_bounds_contains_coordinates() retrun TRUE \n"); else - printf("location_bounds_is_contains_coordinates() retrun FALSE \n"); + printf("location_bounds_contains_coordinates() retrun FALSE \n"); //print current bounds ret = location_manager_foreach_boundary(manager, __location_bounds_cb, (void *)manager); @@ -249,7 +249,7 @@ void location_get_last_information_test() { int ret; double altitude, latitude, longitude; - int climb, direction, speed; + double climb, direction, speed; double horizontal, vertical; location_accuracy_level_e level; time_t timestamp; @@ -266,7 +266,7 @@ void location_get_last_information_test() if (ret != LOCATIONS_ERROR_NONE) { printf(" Fail : location_manager_get_last_velocity ---> %d \n", ret); } else { - printf("climb: %d, direction: %d, speed: %d\n", climb, direction, speed); + printf("climb: %f, direction: %f, speed: %f\n", climb, direction, speed); } ret = location_manager_get_last_accuracy(manager, &level, &horizontal, &vertical); |