From 764b93d4a6f6f953a74ef46d695180ac5d856f58 Mon Sep 17 00:00:00 2001 From: Jeff Heaton Date: Thu, 29 Jan 2015 20:01:03 -0600 Subject: [PATCH] Added test example --- ConsoleExamples/ConsoleExamples.csproj | 1 + ConsoleExamples/Examples/ExampleTest.cs | 56 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 ConsoleExamples/Examples/ExampleTest.cs diff --git a/ConsoleExamples/ConsoleExamples.csproj b/ConsoleExamples/ConsoleExamples.csproj index a387b626..c985a123 100644 --- a/ConsoleExamples/ConsoleExamples.csproj +++ b/ConsoleExamples/ConsoleExamples.csproj @@ -66,6 +66,7 @@ + diff --git a/ConsoleExamples/Examples/ExampleTest.cs b/ConsoleExamples/Examples/ExampleTest.cs new file mode 100644 index 00000000..4121345d --- /dev/null +++ b/ConsoleExamples/Examples/ExampleTest.cs @@ -0,0 +1,56 @@ +// +// Encog(tm) Core v3.3 - .Net Version +// http://www.heatonresearch.com/encog/ +// +// Copyright 2008-2014 Heaton Research, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// For more information on Heaton Research copyrights, licenses +// and trademarks visit: +// http://www.heatonresearch.com/copyright +// +using System; +using ConsoleExamples.Examples; + +namespace Encog.Examples +{ + public class ExampleTest : IExample + { + public static ExampleInfo Info + { + get + { + var info = new ExampleInfo( + typeof(ExampleTest), + "test", + "Jeff's test example, do not use.", + "Jeff's test example, do not use."); + return info; + } + } + + #region IExample Members + + /// + /// Program entry point. + /// + /// Holds arguments and other info. + public void Execute(IExampleInterface app) + { + Console.WriteLine(@"Hello world."); + } + + #endregion + } +}