about summary refs log tree commit diff stats
path: root/awk/rawk/tests/core/test_basic.rawk
diff options
context:
space:
mode:
Diffstat (limited to 'awk/rawk/tests/core/test_basic.rawk')
-rw-r--r--awk/rawk/tests/core/test_basic.rawk26
1 files changed, 0 insertions, 26 deletions
diff --git a/awk/rawk/tests/core/test_basic.rawk b/awk/rawk/tests/core/test_basic.rawk
deleted file mode 100644
index d92091a..0000000
--- a/awk/rawk/tests/core/test_basic.rawk
+++ /dev/null
@@ -1,26 +0,0 @@
-# Basic rawk function definitions
-$add = (x, y) -> x + y;
-$multiply = (a, b) -> a * b;
-$greet = (name) -> "Hello, " name;
-
-# Test the functions
-BEGIN {
-    print "Testing basic functions:"
-    
-    # Test add function
-    result = add(5, 3)
-    expect_equal(result, 8, "add(5, 3) should return 8")
-    print "✓ add(5, 3) = " result
-    
-    # Test multiply function
-    result = multiply(4, 7)
-    expect_equal(result, 28, "multiply(4, 7) should return 28")
-    print "✓ multiply(4, 7) = " result
-    
-    # Test greet function
-    result = greet("World")
-    expect_equal(result, "Hello, World", "greet(\"World\") should return 'Hello, World'")
-    print "✓ greet(\"World\") = " result
-    
-    print "🎉 All basic function tests passed!"
-} 
\ No newline at end of file