Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在标准库文档中没有看到。谷歌搜索给出了“流氓单位旅行宠物绝育和健康诊所定价 [原文如此] 信息”作为热门搜索。
因此,事实证明,测试是内置在 Rascal 中的。只需将修饰符“test”添加到布尔函数即可使其成为测试。命令 ":test" 将运行范围内的所有测试。如果测试需要参数,Rascal 会为你做一些随机测试。