[Test] public virtual void SparseRowColumnMatrix() { Random r = new Random(); int n = Math.Max(TesterUtilities.getInt(nmax, r), 4); IElementalAccessMatrix A = new SparseRowColumnMatrix(n, n, 3); IElementalAccessVector b = new DenseVector(n), x = new DenseVector(n); Helper1(A, b, x); }
public void RendererIsIUniqueValueRenderer() { //from simple (default) to unique value TesterUtilities.ApplyUniqueValueRenderer(layer as IGeoFeatureLayer); IGeoFeatureLayer gfl = layer as IGeoFeatureLayer; IFeatureRenderer fr = gfl.Renderer; Type expected = typeof(IUniqueValueRenderer); System.Console.WriteLine(expected.ToString() + ", " + fr.GetType().ToString()); Assert.IsInstanceOfType(expected, fr, "test ok"); }
private void doSimpleRenderer(IGeoFeatureLayer gfl) { TesterUtilities.ApplySimpleRenderer(gfl); }
private void doUniqueValueRenderer(IGeoFeatureLayer gfl) { TesterUtilities.ApplyUniqueValueRenderer(gfl); }