public void ElemSize() { foreach (var(matTypeFunction, elemSize1) in GetInputs()) { for (int ch = 1; ch <= 6; ch++) { using var umat = new UMat(1, 1, matTypeFunction(ch)); Assert.Equal(elemSize1, umat.ElemSize1()); Assert.Equal(elemSize1 * ch, umat.ElemSize()); } }