summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Fusik <piotr@fusion-lang.org>2024-02-22 17:19:26 +0100
committerPiotr Fusik <piotr@fusion-lang.org>2024-02-22 17:19:26 +0100
commitc9fd2268a6cc7b31ee3c4c25506b0000d2368aa7 (patch)
tree0a371ca21e54fe22825b68f118948727a1314a9d
parent88c19dd5488d744841f7555096a8fd80f1789a32 (diff)
[test] min/max vs Windows.h.
#148
-rw-r--r--test/StringToLowerUpperMaxMin.fu9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/StringToLowerUpperMaxMin.fu b/test/StringToLowerUpperMaxMin.fu
new file mode 100644
index 0000000..dd223d1
--- /dev/null
+++ b/test/StringToLowerUpperMaxMin.fu
@@ -0,0 +1,9 @@
+public class Test
+{
+ public static bool Run()
+ {
+ string s = "Foo";
+ return Math.Min(5, 10) == 5 && Math.Max(5, 10) == 10 //FAIL: c
+ && s.ToLower() == "foo" && s.ToUpper() == "FOO"; //FAIL: cl
+ }
+}