public void CassetteStationToStreamTest() { StartDemountingToStreamConverter privateTarget = new StartDemountingToStreamConverter(); StartDemountingToStreamConverter_Accessor target = new StartDemountingToStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(StartDemountingToStreamConverter)))); Assert.AreEqual<string>("0001", target.CassetteStationToStream(DemountCassetteStation.Station1)); Assert.AreEqual<string>("0002", target.CassetteStationToStream(DemountCassetteStation.Station2)); Assert.AreEqual<string>("0003", target.CassetteStationToStream(DemountCassetteStation.Station3)); Assert.AreEqual<string>("0004", target.CassetteStationToStream(DemountCassetteStation.Station4)); }
public void WaferSizeToStreamTest() { var privateTarget = new StartDemountingToStreamConverter(); var target = new StartDemountingToStreamConverter_Accessor(new PrivateObject(privateTarget, new PrivateType(typeof(StartDemountingToStreamConverter)))); Assert.AreEqual<string>("0006", target.WaferSizeToStream(WaferSize.Size6Inches)); Assert.AreEqual<string>("0008", target.WaferSizeToStream(WaferSize.Size8Inches)); }