Skip to content

Commit

Permalink
Added test example
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffheaton committed Jan 30, 2015
1 parent e5cda74 commit 764b93d
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions ConsoleExamples/ConsoleExamples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<Compile Include="Examples\Benchmark\WeightInitialization.cs" />
<Compile Include="Examples\Analyzer\CreateEval.cs" />
<Compile Include="Examples\EPL\SimpleEPL.cs" />
<Compile Include="Examples\ExampleTest.cs" />
<Compile Include="Examples\Forest\Evaluate.cs" />
<Compile Include="Examples\Forest\ForestConfig.cs" />
<Compile Include="Examples\Forest\ForestCover.cs" />
Expand Down
56 changes: 56 additions & 0 deletions ConsoleExamples/Examples/ExampleTest.cs
Original file line number Diff line number Diff line change
@@ -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

/// <summary>
/// Program entry point.
/// </summary>
/// <param name="app">Holds arguments and other info.</param>
public void Execute(IExampleInterface app)
{
Console.WriteLine(@"Hello world.");
}

#endregion
}
}

0 comments on commit 764b93d

Please sign in to comment.