using AstroFrame.Engine; static class PreviewRegression { public static void Run(Action check) { const int w=360,h=640;var random=new Random(839);float[] pixels=new float[w*h]; for(int y=0;y diff=[];for(int y=0;yv/255.0))<.25,"preview transfer keeps background grain subordinate to the image"); check(untouched.SequenceEqual(pixels),"preview reduction, stretching and nebula mode never alter analysis pixels"); check(frame.Max()>frame[0]+80&&diffuse.Length