public void ConvertClef_LineInvalid() { meiclef.SetLine("bla"); meiclef.SetShape("F"); TinyConverters.ConvertClef(clefobj, meiclef); }
public void ConvertClefTest_Line() { meiclef.SetLine("4"); meiclef.SetShape("F"); TinyConverters.ConvertClef(clefobj, meiclef); Assert.AreEqual(4, clefobj.Line); }
public void CovertClef_Shape(string meishape, Model.Clefshape shape) { if (meishape != null) { meiclef.SetShape(meishape); } meiclef.SetLine("4"); TinyConverters.ConvertClef(clefobj, meiclef); Assert.AreEqual(shape, clefobj.Shape); }
public void ConvertClef_LineNullException() { TinyConverters.ConvertClef(clefobj, meiclef); Assert.AreEqual(0, clefobj.Line); }
public void ConvertClef_LineNull() { meiclef.SetShape("F"); TinyConverters.ConvertClef(clefobj, meiclef); }
public void ConvertClef_ShapeNoLine() { meiclef.SetShape("bla"); TinyConverters.ConvertClef(clefobj, meiclef); }