예제 #1
0
 static void DisplayArgs()
 {
     Console.WriteLine("Bordersize: " + borderSize.ToString());
     Console.WriteLine("On Color: " + onPixel.ToString());
     Console.WriteLine("Off Color: " + offPixel.ToString());
     Console.WriteLine($"Original Image Dimensions: {widthOrig} x {heightOrig}");
     Console.WriteLine($"New Image Dimensions: {widthNew} x {heightNew}");
     Console.WriteLine("");
     //Console.WriteLine(Paths.ma2General);
     //Console.WriteLine(Paths.GoboInfo);
     //Console.WriteLine(Paths.DebugFile);
 }
예제 #2
0
 public void TestMemberFn_ToString_i()
 {
     var testCase = new Rgba32();
     testCase.PackFrom(0.656f, 0.125f, 0.222f, 0.861f);
     String s = testCase.ToString ();
     Assert.That(s, Is.EqualTo("{R:167 G:32 B:57 A:220}"));
 }