Пример #1
0
 def test_calculate_no_null_count_float(self):
     assert (calc_stats.calculate_null_count_float(
         5, datetime.date(2018, 2, 1), 1, 2, 0.5, "JIJIJ",
         datetime.date(2018, 2, 1)) == 5)
Пример #2
0
 def test_calculate_null_count_float_load_date(self):
     assert (calc_stats.calculate_null_count_float(
         5, None, 1, 2, 0.5, "JIJIJ", datetime.date(2018, 2, 1)) == 6)
Пример #3
0
 def test_calculate_null_count_float_char_value(self):
     assert (calc_stats.calculate_null_count_float(
         5, datetime.date(2018, 2, 1), 1, 2, 0.5, None,
         datetime.date(2018, 2, 1)) == 6)