예제 #1
0
 public void CharSpecWithAltFlagFails()
 {
     Printf.Format("%#c", 'a');
 }
예제 #2
0
 public void HashSpecWithAltFlagFails()
 {
     Printf.Format("%#h", "abc");
 }
예제 #3
0
 public void GeneralSpecWithLeadingSpaceFlagFails()
 {
     Printf.Format("% s", "abc");
 }
예제 #4
0
 public void LineSepSpecWithLeftJustifyFlagFails()
 {
     Printf.Format("%-5n");
 }
예제 #5
0
 public void FailsOnArgIndexTooLarge()
 {
     Printf.Format("abc%2$ddef", 12);
 }
예제 #6
0
 public void LineSepSpecWithLeadingSpaceFlagFails()
 {
     Printf.Format("% n");
 }
예제 #7
0
 public void LineSepSpecWithgGroupFlagFails()
 {
     Printf.Format("%,n");
 }
예제 #8
0
 public void CharSpecLeftJustifyWithNoWidthFails()
 {
     Printf.Format("%-c", 'a');
 }
예제 #9
0
 public void PercentSpecWithPrecionFails()
 {
     Printf.Format("%5.2%");
 }
예제 #10
0
 public void CharSpecWithGroupFlagFails()
 {
     Printf.Format("%,c", 'a');
 }
예제 #11
0
 public void CharSpecWithParenFlagFails()
 {
     Printf.Format("%(c", 'a');
 }
예제 #12
0
 public void CharSpecWithZeroPadFlagFails()
 {
     Printf.Format("%0c", 'a');
 }
예제 #13
0
 public void CharSpecWithLeadingSpaceFlagFails()
 {
     Printf.Format("% c", 'a');
 }
예제 #14
0
 public void CharSpecWithPlusFlagFails()
 {
     Printf.Format("%+c", 'a');
 }
예제 #15
0
 public void LineSepSpecWithAlternateFlagFails()
 {
     Printf.Format("%#n");
 }
예제 #16
0
 public void LineSepSpecLeftJustifyWithNoWidthFails()
 {
     Printf.Format("%5.2n");
 }
예제 #17
0
 public void LineSepSpecWithLeadingPlusFlagFails()
 {
     Printf.Format("%+n");
 }
예제 #18
0
 public void PercentSpecWithAlternateFlagFails()
 {
     Printf.Format("%#%");
 }
예제 #19
0
 public void LineSepSpecWithZeroPadFlagFails()
 {
     Printf.Format("%0n");
 }
예제 #20
0
 public void PercentSpecWithLeadingPlusFlagFails()
 {
     Printf.Format("%+%");
 }
예제 #21
0
 public void LineSepSpecWithParenFlagFails()
 {
     Printf.Format("%(n");
 }
예제 #22
0
 public void PercentSpecWithLeadingSpaceFlagFails()
 {
     Printf.Format("% %");
 }
예제 #23
0
 public void FailsNegativeArgIndex()
 {
     Printf.Format("abc%-1$ddef", 12);
 }
예제 #24
0
 public void PercentSpecWithZeroPadFlagFails()
 {
     Printf.Format("%0%");
 }
예제 #25
0
 public void BoolSpecWithAltFlagFails()
 {
     Printf.Format("%#b", "abc");
 }
예제 #26
0
 public void PercentSpecWithgGroupFlagFails()
 {
     Printf.Format("%,%");
 }
예제 #27
0
 public void GeneralSpecWithPlusFlagFails()
 {
     Printf.Format("%+s", "abc");
 }
예제 #28
0
 public void PercentSpecWithParenFlagFails()
 {
     Printf.Format("%(%");
 }
예제 #29
0
 public void GeneralSpecWithZeroPadFlagFails()
 {
     Printf.Format("%0s", "abc");
 }
예제 #30
0
 public void CharSpecWithPrecionFails()
 {
     Printf.Format("%12.2c", 'a');
 }