Exemple #1
0
 public AuthService(ILogger <AuthService> logger,
                    IInvokeBLL invokeBLL,
                    IQueryBLL queryBll,
                    IMemoryCache cache,
                    IIdentityProvider identityProvider)
 {
     _cache            = cache;
     _queryBll         = queryBll;
     _logger           = logger;
     _identityProvider = identityProvider;
     _invokeBLL        = invokeBLL;
 }
Exemple #2
0
        public void TestMethod1()
        {
            //Arranque
            points = new List <Point>(1);
            point  = new Point()
            {
                X = 2, Y = 2, Z = 2, W = 4
            };
            points.Add(point);

            queryDatos       = new QueryDatos();
            queryDatos.X1    = Convert.ToInt32(1);
            queryDatos.Y1    = Convert.ToInt32(1);
            queryDatos.Z1    = Convert.ToInt32(1);
            queryDatos.X2    = Convert.ToInt32(3);
            queryDatos.Y2    = Convert.ToInt32(3);
            queryDatos.Z2    = Convert.ToInt32(3);
            _queryBLL        = new QueryBLL();
            _queryBLL.Points = points;
            //Act
            BigInteger Resultado = _queryBLL.Query(queryDatos);

            Assert.IsNotNull(Resultado);
        }