示例#1
0
文件: Program.cs 项目: margadz/matrix
        static void Main(string[] args)
        {
            IMatrixSerializer serializer;

            if (args.Count() < 1)
            {
                throw new Exception("Matrix size has not been provided");
            }
            using (serializer = new RavenDBMatrixSerializer(new Identifiers()))
            {
                serializer.DeleteAllData();
                serializer.SaveInputMatrix(MatrixGen.GenerateMatrixForCalcuation(int.Parse(args[0])));
            }
        }
示例#2
0
 public void SetUp()
 {
     serializer = new RavenDBMatrixSerializer(new TestIdentifiers());
 }