Example #1
0
        static OpCodeInfoTestCase[] CreateOpCodeInfos()
        {
            var filename = PathUtils.GetTestTextFilename("OpCodeInfos.txt", "Encoder");

            Debug.Assert(File.Exists(filename));
            return(OpCodeInfoTestCasesReader.ReadFile(filename).ToArray());
        }
Example #2
0
        static OpCodeInfoTestCase[] CreateOpCodeInfos()
        {
            var filename = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Intel", "EncoderTests", "OpCodeInfos.txt");

            Debug.Assert(File.Exists(filename));
            return(OpCodeInfoTestCasesReader.ReadFile(filename).ToArray());
        }