def test_ks_2samp_similar_distribution(): new_data, historical_data = generate_data() test_suite = columnar_tests.ColumnarData(new_data, historical_data) try: test_suite.ks_2samp_similar_distribution("similar_normal") assert True except: assert False
def test_is_normal(): new_data, historical_data = generate_data() test_suite = columnar_tests.ColumnarData(new_data, historical_data) try: test_suite.is_normal("similar_normal") assert True except: assert False
def test_spearman_similar_correlation(): new_data, historical_data = generate_data() test_suite = columnar_tests.ColumnarData(new_data, historical_data) correlation_lower_bound = 0.3 try: test_suite.spearman_similar_correlation("similar_normal", correlation_lower_bound) assert True except: assert False