def test_Caching(testfiles):
    logging.basicConfig(level=logging.DEBUG)
    name = testfiles["h5100"]
    # name = "/home/george/msc/workspaces/PyCharmWorkspace/TimeSeriesCorrelation/test_resources/h5100.db"
    pm = PruningMatrix(name)
    pm.compute_pruning_matrix(1, 0.7, disable_store=True)

    c = Caching(pm.pruning_matrix, name, 20)
    c.calculate_batches()

    for b in c.batches:
        print(b)

    assert True