comparison dynamin/core/string.d @ 110:6613b65a6035

Fix a downcase() test.
author Jordan Miner <jminer7@gmail.com>
date Sat, 19 Jan 2013 20:51:27 -0600
parents acdbb30fee7e
children 8ba1044adc93
comparison
equal deleted inserted replaced
109:7678554e75de 110:6613b65a6035
105 } 105 }
106 unittest { 106 unittest {
107 assert("Bounce the ball.".upcase() == "BOUNCE THE BALL."); 107 assert("Bounce the ball.".upcase() == "BOUNCE THE BALL.");
108 assert("Mañana".upcase() == "MAÑANA"); 108 assert("Mañana".upcase() == "MAÑANA");
109 assert("æóëø".upcase() == "ÆÓËØ"); 109 assert("æóëø".upcase() == "ÆÓËØ");
110 assert("σε".downcase() == "ΣΕ"); 110 assert("ΣΕ".downcase() == "σε");
111 } 111 }
112 112
113 /** 113 /**
114 * Converts all uppercase characters in the specified string to lowercase. Obviously, the 114 * Converts all uppercase characters in the specified string to lowercase. Obviously, the
115 * conversion is not done in place, but in-place conversion can be accomplished by passing 115 * conversion is not done in place, but in-place conversion can be accomplished by passing