예제 #1
0
        internal StringConstant(String value)
        {
            if (value.Length == 0)
            {
                throw new Casl2SimulatorException(Resources.MSG_ZeroCharsInStringConstant);
            }

            m_value         = value;
            m_jisx0201Bytes = Jisx0201Utils.ToJisx0201Bytes(value);
        }
예제 #2
0
 private void CheckToJisx0201Bytes(String str, Byte[] expected, String message)
 {
     Byte[] actual = Jisx0201Utils.ToJisx0201Bytes(str);
     TestUtils.CheckEnumerable(expected, actual, message);
 }