library(ggplot2)
code_list <- list("ABC","XYZ")
Diff <- data.frame(FactSet.Fund.Code = as.character(1:10),
XYZ = rnorm(1:10), ABC = rnorm(1:10))
for(i in code_list){
ggplot(Diff, aes_string(x = "FactSet.Fund.Code", y = i)) +
geom_point(size = 6)
ggsave(paste0(i,".png"))
}
错误:
RealmConfiguration _configuration = new RealmConfiguration(Path.GetTempFileName());
var realm = Realm.GetInstance(_configuration);
如何在PCL中初始化领域测试数据库以进行集成测试?
答案 0 :(得分:0)
According to documentation,PCL库只包含存根 - 不应该调用那些方法。您应该在实际应用程序中运行测试。如果使用NUnit,您可以使用NUnitLite runner来创建一个非常简单的控制台运行程序。确保在控制台应用程序中添加对Realm的引用。