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 doUniqueValueRenderer(IGeoFeatureLayer gfl) { TesterUtilities.ApplyUniqueValueRenderer(gfl); }