public void GetIsRequiredTest() { var constant = new MTLFunctionConstant(); Assert.False(constant.IsRequired); // defualt value is false }
public void GetTypeTest() { var constant = new MTLFunctionConstant(); Assert.AreEqual(MTLDataType.None, constant.Type); // default value is none }
public void GetIndexTest() { var constant = new MTLFunctionConstant(); Assert.AreEqual((nuint)0, constant.Index, $"Index is {constant.Index}"); // default value is 0 }
public void GetNameTest() { var constant = new MTLFunctionConstant(); Assert.IsNull(constant.Name); // defualt value is null }