public void CheckParameterThrowPlcException3Test()
        {
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor();

            // test of nGWaferCount out of range value
            target.CheckParameter(PlcHelper.GetLotData(-1));
        }
        public void CheckParameterThrowPlcException100Test()
        {
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor();

            // test of assembly2CarrierPlateCount out of range value
            target.CheckParameter(PlcHelper.GetLotData(50, 8, 100, 8));
        }
        public void CheckParameterThrowPlcException2Test()
        {
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor();

            // test of waferCount out of range value
            List<IWafer> listOfWafers = PlcHelper.GetWaferList(301, 13);
            List<ICassette> listOfCassettes = PlcHelper.GetCassetteList(13);

            target.CheckParameter(PlcHelper.GetLotData("ABCDEFGHIJKLMN", listOfCassettes, listOfWafers));
        }
        public void CheckParameterThrowPlcException7Test()
        {
            LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor();

            // test of polishDivision invalid value
            target.CheckParameter(PlcHelper.GetLotData("BCGFTSFQ", PlcHelper.GetCassetteList(2), 4, WaferSize.Size6Inches, OfType.OF,
                                                              PolishDivision.Cleared, 5, 6, 5, 6, PlcHelper.GetWaferList(50, 2)));
        }
 public void CheckParameterTest()
 {
     LotWaferInfoToStreamConverter_Accessor target = new LotWaferInfoToStreamConverter_Accessor();
     Assert.AreEqual<bool>(true, target.CheckParameter(PlcHelper.GetLotData()));
 }