about summary refs log tree commit diff stats
path: root/awk/rawk/tests/stdlib/test_stdlib_simple.rawk
diff options
context:
space:
mode:
Diffstat (limited to 'awk/rawk/tests/stdlib/test_stdlib_simple.rawk')
-rw-r--r--awk/rawk/tests/stdlib/test_stdlib_simple.rawk27
1 files changed, 0 insertions, 27 deletions
diff --git a/awk/rawk/tests/stdlib/test_stdlib_simple.rawk b/awk/rawk/tests/stdlib/test_stdlib_simple.rawk
deleted file mode 100644
index 247e8d6..0000000
--- a/awk/rawk/tests/stdlib/test_stdlib_simple.rawk
+++ /dev/null
@@ -1,27 +0,0 @@
-# Simple standard library test
-$double = (x) -> x * 2;
-$square = (x) -> x * x;
-$add = (a, b) -> a + b;
-
-# Test the standard library with direct function calls
-BEGIN {
-    print "=== Testing Standard Library (Simple) ==="
-    
-    # Test direct function calls (these work)
-    print "double(5) =", double(5)
-    print "square(4) =", square(4)
-    print "add(3, 7) =", add(3, 7)
-    
-    # Test keys and values functions (these work)
-    data["a"] = 1
-    data["b"] = 2
-    data["c"] = 3
-    key_array = keys(data)
-    value_array = values(data)
-    print "keys(data) =", key_array[1], key_array[2], key_array[3]
-    print "values(data) =", value_array[1], value_array[2], value_array[3]
-    
-    # Test nested function calls
-    print "double(square(3)) =", double(square(3))
-    print "square(double(3)) =", square(double(3))
-} 
\ No newline at end of file