コード例 #1
0
ファイル: Program.cs プロジェクト: wdxa/ILNumerics
 static void Main(string[] args) {
     string basePath =  Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().CodeBase); 
     basePath = Path.Combine(basePath + Path.DirectorySeparatorChar , @"..\ILNumericsTest\Tests\AutoGenerated\");
     basePath = new Uri(basePath).LocalPath;
     ILTestAutoGenerator generator = new ILTestAutoGenerator(basePath);
     new max_min(generator).Run(); 
     new add(generator).Run(); 
     new subtract(generator).Run(); 
     new multiplyElements(generator).Run(); 
     new divide(generator).Run(); 
 }
コード例 #2
0
        static void Main(string[] args)
        {
            string basePath = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().CodeBase);

            basePath = Path.Combine(basePath + Path.DirectorySeparatorChar, @"..\ILNumericsTest\Tests\AutoGenerated\");
            basePath = new Uri(basePath).LocalPath;
            ILTestAutoGenerator generator = new ILTestAutoGenerator(basePath);

            new max_min(generator).Run();
            new add(generator).Run();
            new subtract(generator).Run();
            new multiplyElements(generator).Run();
            new divide(generator).Run();
        }
コード例 #3
0
ファイル: ILTestCaseBase.cs プロジェクト: wdxa/ILNumerics
 public ILTestCaseBase (ILTestAutoGenerator generator) {
     m_generator = generator; 
     m_caseDefinitions = new List<ILTestCaseDefinition>();
     m_arrayProviders = new Dictionary<string,ILTestArrayProvider>(); 
 }
コード例 #4
0
 public ILTestCaseBase(ILTestAutoGenerator generator)
 {
     m_generator       = generator;
     m_caseDefinitions = new List <ILTestCaseDefinition>();
     m_arrayProviders  = new Dictionary <string, ILTestArrayProvider>();
 }