public void TestAsPublisher() { AbsDiskSegment aSegTrans = (AbsDiskSegment)GetMockSegments().GetValue(0); var testDS = Substitute.For <AbsDiskSegment>(); Debug.Log(System.String.Format("testDS : {0}, {1}", testDS.r, testDS.theta)); //This is the limitation of NSub...you can't call base //testDS.Rotate(45f,1f); }
public RelativeDiskSegment(AbsDiskSegment adaptee) { mSegment = adaptee; relativeR = mSegment.r; relativeTheta = mSegment.theta; }