push
github
47 of 59 new or added lines in 6 files covered. (79.66%)
956 existing lines in 41 files now uncovered.144 of 1535 relevant lines covered (9.38%)
0.09 hits per line
UNCOV
1
|
from .Coordinate import Coordinate |
× |
UNCOV
2
|
class Misurazione(): |
× |
UNCOV
3
|
def __init__(self, timestamp, value, type_, coordinate: Coordinate, ID_sensore, cella): |
× |
UNCOV
4
|
self.__timestamp = timestamp
|
× |
UNCOV
5
|
self.__value = value
|
× |
UNCOV
6
|
self.__type = type_
|
× |
UNCOV
7
|
self.__coordinates = coordinate
|
× |
UNCOV
8
|
self.__ID_sensore = ID_sensore
|
× |
UNCOV
9
|
self.__cella = cella
|
× |
10 |
|
|
UNCOV
11
|
def get_timestamp(self): |
× |
12 |
return self.__timestamp |
× |
13 |
|
|
UNCOV
14
|
def get_value(self): |
× |
UNCOV
15
|
return self.__value |
× |
16 |
|
|
UNCOV
17
|
def get_type(self): |
× |
UNCOV
18
|
return self.__type |
× |
19 |
|
|
UNCOV
20
|
def get_latitude(self): |
× |
21 |
return self.__coordinates.get_latitude() |
× |
22 |
|
|
UNCOV
23
|
def get_longitude(self): |
× |
24 |
return self.__coordinates.get_longitude() |
× |
25 |
|
|
UNCOV
26
|
def get_ID_sensore(self): |
× |
27 |
return self.__ID_sensore |
× |
28 |
|
|
UNCOV
29
|
def get_cella(self): |
× |
UNCOV
30
|
return self.__cella |
× |