public void VibratePatternConverToNumberArray() { var type = CreateTypeDefinition("VibratePattern"); var name = NameService.GetTypeName(type); Assert.AreEqual("int[]", name); }
public void GenericTypes(string genericType, string typeParameter1, string expectedType) { var type = CreateSingleParameterGeneric(genericType, typeParameter1); var name = NameService.GetTypeName(type); Assert.AreEqual(expectedType, name); }
public void RegularTypes(string idlType, string csharpType) { var type = CreateTypeDefinition(idlType); var name = NameService.GetTypeName(type); Assert.AreEqual(csharpType, name); }