Skip to content

Commit 8cc7767

Browse files
sudo-teeCopilot
andauthored
chore:remove test file
Co-authored-by: Copilot <[email protected]>
1 parent 596ec72 commit 8cc7767

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

test.lua

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +0,0 @@
1-
local summary = {
2-
'✅ Fully Functional and Tested',
3-
'All unit tests passing',
4-
'Syntax validation successful',
5-
'Complete spinner lifecycle management',
6-
'Robust error handling and cleanup',
7-
'Ready for production use',
8-
}
9-
10-
---@param n number The upper limit for the FizzBuzz sequence
11-
---@return table A table containing the FizzBuzz sequence
12-
function fizz_buzz(n)
13-
local result = {}
14-
for i = 1, n do
15-
if i % 15 == 0 then
16-
result[i] = 'FizzBuzz'
17-
elseif i % 3 == 0 then
18-
result[i] = 'Fizz'
19-
elseif i % 5 == 0 then
20-
result[i] = 'Buzz'
21-
else
22-
result[i] = tostring(i)
23-
end
24-
end
25-
return result
26-
end
27-
28-
---@param n number The number of Fibonacci numbers to generate
29-
---@return table A table containing the Fibonacci sequence
30-
function fibbonacci(n)
31-
if n <= 0 then
32-
return {}
33-
elseif n == 1 then
34-
return { 0 }
35-
end
36-
local seq = { 0, 1 }
37-
for i = 3, n do
38-
seq[i] = seq[i - 1] + seq[i - 2]
39-
end
40-
return seq
41-
end

0 commit comments

Comments
 (0)