1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00

Adding new test suite

This commit is contained in:
Brian Fiete 2019-11-07 06:49:32 -08:00
parent a13042b96c
commit 61b440ea36
6 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,43 @@
using System.Collections.Generic;
using System;
namespace Test
{
class Container
{
static void TestB()
{
List<int> list = scope .();
for (int i < 5)
list.Add(i);
//TestB
list.Remove(2);
}
static void TestA()
{
List<String> list = scope .();
list.Add("A");
list.Add("AB");
list.Add("ABC");
list.Add("ABCD");
list.Add("ABCDE");
list.Add("ABCDEF");
for (int i < 100)
{
list.Add(scope:: String()..AppendF("Str{}", i));
}
//TestA
list.RemoveAt(3);
TestB();
}
public static void Test()
{
TestA();
}
}
}

View file

@ -0,0 +1,14 @@
#pragma warning disable 168
using System;
namespace Test
{
class Program
{
static void Main()
{
Container.Test();
}
}
}