push
github
27 of 126 branches covered (21.43%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
1143 existing lines in 77 files now uncovered.981 of 2254 relevant lines covered (43.52%)
0.44 hits per line
1 |
from .coordinate import coordinate |
1✔ |
2 |
|
|
3 |
class misurazione(): |
1✔ |
4 |
def __init__(self, timestamp, value, type_, coord: coordinate, ID_sensore, cella): |
1✔ |
UNCOV
5
|
self.__timestamp = timestamp
|
× |
UNCOV
6
|
self.__value = value
|
× |
UNCOV
7
|
self.__type = type_
|
× |
UNCOV
8
|
self.__coordinates = coord
|
× |
UNCOV
9
|
self.__ID_sensore = ID_sensore
|
× |
UNCOV
10
|
self.__cella = cella
|
× |
11 |
|
|
12 |
def get_timestamp(self): |
1✔ |
UNCOV
13
|
return self.__timestamp |
× |
14 |
|
|
15 |
def get_value(self): |
1✔ |
UNCOV
16
|
return self.__value |
× |
17 |
|
|
18 |
def get_type(self): |
1✔ |
UNCOV
19
|
return self.__type |
× |
20 |
|
|
21 |
def get_latitude(self): |
1✔ |
UNCOV
22
|
return self.__coordinates.get_latitude() |
× |
23 |
|
|
24 |
def get_longitude(self): |
1✔ |
UNCOV
25
|
return self.__coordinates.get_longitude() |
× |
26 |
|
|
27 |
def get_ID_sensore(self): |
1✔ |
UNCOV
28
|
return self.__ID_sensore |
× |
29 |
|
|
30 |
def get_cella(self): |
1✔ |
UNCOV
31
|
return self.__cella |
× |