public void PolishDivisionToStreamTest()
        {
            LotWaferInfoToStreamConverter privateTarget = new LotWaferInfoToStreamConverter();
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor(new PrivateObject(privateTarget,
                                                                                         new PrivateType(typeof(LotWaferInfoToStreamConverter))));

            Assert.AreEqual<string>("0001", target.PolishDivisionToStream(PolishDivision.New));
            Assert.AreEqual<string>("0002", target.PolishDivisionToStream(PolishDivision.Repolish));
        }
        public void WaferSizeToStreamTest()
        {
            LotWaferInfoToStreamConverter privateTarget = new LotWaferInfoToStreamConverter();
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor(new PrivateObject(privateTarget,
                                                                                         new PrivateType(typeof(LotWaferInfoToStreamConverter))));

            Assert.AreEqual<string>("0006", target.WaferSizeToStream(WaferSize.Size6Inches));
            Assert.AreEqual<string>("0008", target.WaferSizeToStream(WaferSize.Size8Inches));
        }
        public void OFTypeToStreamTest()
        {
            LotWaferInfoToStreamConverter privateTarget = new LotWaferInfoToStreamConverter();
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor(new PrivateObject(privateTarget,
                                                                                         new PrivateType(typeof(LotWaferInfoToStreamConverter))));

            Assert.AreEqual<string>("0001", target.OfTypeToStream(OfType.OF));
            Assert.AreEqual<string>("0002", target.OfTypeToStream(OfType.VNotch));
        }