public void Check_IsFullWidth_1() { char test_tgt = '良'; bool res = EAWCheck.IsFullWidth(test_tgt); Assert.AreEqual(true, res); }
public void Check_LenB_1() { string test_tgt = "これは、\"Test\"用のテキストです。"; // (13 * 2) + 4 = 32 int res = EAWCheck.LenB(test_tgt); Assert.AreEqual(32, res); }
public void Check_IsHalfWidth_1() { char test_tgt = '良'; bool res = EAWCheck.IsHalfWidth(test_tgt); Assert.AreEqual(false, res); }
public void Check_IsHalfWidth_2() { char test_tgt = 'g'; bool res = EAWCheck.IsHalfWidth(test_tgt); Assert.AreEqual(true, res); }
public void Check_IsFullWidth_2() { char test_tgt = 'g'; bool res = EAWCheck.IsFullWidth(test_tgt); Assert.AreEqual(false, res); }