about summary refs log tree commit diff stats
path: root/awk/rawk/test_pattern_simple.rawk
diff options
context:
space:
mode:
Diffstat (limited to 'awk/rawk/test_pattern_simple.rawk')
-rw-r--r--awk/rawk/test_pattern_simple.rawk23
1 files changed, 0 insertions, 23 deletions
diff --git a/awk/rawk/test_pattern_simple.rawk b/awk/rawk/test_pattern_simple.rawk
deleted file mode 100644
index 830fb7c..0000000
--- a/awk/rawk/test_pattern_simple.rawk
+++ /dev/null
@@ -1,23 +0,0 @@
-# Simple test for pattern matching
-
-BEGIN {
-    print "=== Simple Pattern Matching Test ==="
-    print ""
-    
-    # Simple pattern matching function
-$classify = (value) -> {
-        case value of
-            | 0 -> "zero"
-            | n if is_positive(n) -> "positive"
-            | n if is_negative(n) -> "negative"
-            | _ -> "unknown"
-    }
-    
-    # Test the function
-    print "classify(0): " classify(0)
-    print "classify(42): " classify(42)
-    print "classify(-5): " classify(-5)
-    
-    print ""
-    print "🎉 Pattern matching test completed!"
-} 
\ No newline at end of file