Skip to content

Adding additional checks to tests

Caitlin Ross requested to merge caitlin.ross/fides:improve-testing into master

@berkgeveci Added in some checking on the min/max of some of the data read to tests that didn't already do it. I have a question though. Some tests output point dimensions and in test-cartesian I added a check for it and noticed that reported dimensions is in the reverse order from what bpls gives for the data.

bpls data/cartesian.bp -D
  float    density  {9, 12, 6}
        step 0:
          block 0: [0:8,  0: 5, 0:5]
          block 1: [0:8,  5:11, 0:5]

test-cartesian gets the dimensions of one of the partitions and that is output as 6, 6, 9. Is this incorrect, or am I not understanding something? Some other tests output the dimensions of the data as well and it seems to be reversed in those cases too.

Edited by Caitlin Ross

Merge request reports