浏览代码

Test integration tests on HDRP on yamato

/int_tests_on_hdrp
Jon Hogins 4 年前
当前提交
1563b932
共有 1 个文件被更改,包括 9 次插入5 次删除
  1. 14
      com.unity.perception/Tests/Runtime/GroundTruthTests/PerceptionCameraIntegrationTests.cs

14
com.unity.perception/Tests/Runtime/GroundTruthTests/PerceptionCameraIntegrationTests.cs


namespace GroundTruthTests
{
#if HDRP_PRESENT
[Ignore("Ignoring in HDRP because of a rendering issue in the first frame. See issue AISV-455.")]
#endif
// #if HDRP_PRESENT
// [Ignore("Ignoring in HDRP because of a rendering issue in the first frame. See issue AISV-455.")]
// #endif
public class PerceptionCameraIntegrationTests : GroundTruthTestBase
{
[UnityTest]

}
[UnityTest]
public IEnumerator EnableSemanticSegmentation_GeneratesCorrectDataset([Values(true, false)] bool enabled)
public IEnumerator EnableSemanticSegmentation_GeneratesCorrectDataset([Values(true, false)] bool enabled, [Values(true, false)] bool includeSky)
{
SemanticSegmentationLabeler semanticSegmentationLabeler = null;
SetupCamera(pc =>

});
return labelConfig;
}
static SemanticSegmentationLabelConfig CreateSemanticSegmentationLabelConfig()
static SemanticSegmentationLabelConfig CreateSemanticSegmentationLabelConfig(Color? skyColor = null)
{
var label = "label";
var labelingConfiguration = ScriptableObject.CreateInstance<SemanticSegmentationLabelConfig>();

color = Color.blue
}
});
if (skyColor.HasValue)
labelingConfiguration.skyColor = skyColor.Value;
return labelingConfiguration;
}
}
正在加载...
取消
保存