embgms05.gms : 삽입된 코드에서 데이터를 로드할 때 병합/교체 테스트

설명

기고자: Michael Bussieck, 2023년 1월

소형 모델 유형 :크레이지 슬롯


카테고리 : 크레이지 슬롯 테스트 라이브러리


메인 파일 : embgms05.gms

$title '임베디드 코드에서 데이터를 로드할 때 병합/교체 테스트' (EMBGMS05,SEQ=929)

$onText
기고자: Michael Bussieck, 2023년 1월
$offText

우주 설정 / i1*i3 /
          s(우주);

$onEmbeddedCode 크레이지 슬롯:
  s /I2/를 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '예상되는 오류 없음'
$eval.STL s.firstTL 설정
$if not %STL%==i2 $abort 'i2가 예상되었으나 %STL%을(를) 받았습니다.'

$onEmbeddedCode 크레이지 슬롯:
  s /I2/를 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '오류가 예상됩니다.'
$clearErrors

$kills
$onEmbeddedCode 크레이지 슬롯:
  s /I2/를 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '예상되는 오류 없음'
$eval.STL s.firstTL 설정
$if not %STL%==i2 $abort 'i2가 예상되었으나 %STL%을(를) 받았습니다.'

$onMulti
$onEmbeddedCode 크레이지 슬롯:
  s /I1/을 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '예상되는 오류 없음'
$eval.STL s.firstTL 설정
$if not %STL%==i1 $abort 'i1이 예상되었으나 %STL%을(를) 받았습니다.'

$onMultiR
$onEmbeddedCode 크레이지 슬롯:
  s /I3/을 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '예상되는 오류 없음'
$eval.STL s.firstTL 설정
$if not %STL%==i3 $abort 'i3이 필요했지만 %STL%이(가) 있습니다.'
$off멀티

$kills
$onEmbeddedCode 크레이지 슬롯:
  s /I2/를 설정합니다;
$offEmbeddedCodes
$if errorFree $abort '예상되는 오류 없음'
$eval.STL s.firstTL 설정
$if not %STL%==i2 $abort 'i2가 예상되었으나 %STL%을(를) 받았습니다.'

* 실행 시간 가져오기는 병합을 수행합니다.
옵션 클리어=s;
임베디드코드 크레이지 슬롯:
  s /I2/를 설정합니다;
endEmbeddedCode s
abort$(card(s)<>1 or not s('i2')) 's에 i2만 있으면 됩니다.', s;

임베디드코드 크레이지 슬롯:
  s /I1/을 설정합니다;
endEmbeddedCode s
abort$(card(s)<>2 or not s('i1') or not s('i2')) 's에 i1만 예상됨', s;