예제 #1
0
        public void Test_Integridade_GetConditionPlanet_sem_Planet_com_Population()
        {
            string esperado = $"Id IN(Select distinct  peopleId From people_planets_planets ppp inner join planets pl on " +
                              $"pl.Id = ppp.planetsId where ( Population> 1000)) and ";
            string Atual = FunctionsPeopleService.GetConditionPlanet("", "1000");

            Assert.Equal(esperado, Atual);
        }
예제 #2
0
 public static string GetConditionPlanet(this RepositoryPeople input, string name, string population)
 {
     return(FunctionsPeopleService.GetConditionPlanet(name, population));
 }