Skip to content

Tesztelés

RebekaNagy edited this page May 10, 2021 · 1 revision

Tesztesetek

App-test

  • renders correctly
  • AsyncStorage get test
  • AsyncStorage set and get test
  • AsyncStorage get not exist key

helpers-drawing-test

distance between 2 points

  • distance between same points is 0
  • distance between (10, 10) and (20, 20) is 1544757.56
  • distance from A to B equals from B to A

helpers-exifDataReader-test

get latitude and longitude from exif data

  • undefined
  • Budapest

get date from exif data

  • undefined
  • 2021.05.09. 10:20:20

helpers-functions-test

findIndexById

  • not found
  • found

onlyUnique

  • not sort
  • sort

groupBy

  • grouBy

imageToPhoto

  • without exif
  • with lat lng in params
  • with lat lng in exif
  • with date in exif

helpers-searchFilter-test

galleryFilter

  • no filter
  • city filter - not found
  • city filter - fount
  • photoIdsByClusterFilter - not found
  • photoIdsByClusterFilter - fount
  • circle - not found
  • circle - found
  • polygon - not found
  • polygon - found
  • labels - not found
  • labels - found
  • date - not found
  • datefrom - found
  • dateto - found
  • date interval - found

getCountriesAndCities

  • getCountriesAndCities

getCountriesAndCitiesWithPhotosAscending

  • getCountriesAndCitiesWithPhotosAscending

getCountriesAndCitiesWithPhotosAscending

  • getCountriesAndCitiesWithPhotosAscending