Skip to content

Commit

Permalink
[test] added test
Browse files Browse the repository at this point in the history
  • Loading branch information
MchKosticyn committed Nov 24, 2023
1 parent 48446d5 commit 0085d86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions VSharp.Test/Tests/Generic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ public static int Nested1(object o)
}
return 1;
}

[TestSvm(100)]
public static int Nested2(object o)
{
Expand Down
9 changes: 9 additions & 0 deletions VSharp.Test/Tests/Lists.cs
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,15 @@ public static int ListTest(decimal d1, decimal d2)
return -1;
}

[TestSvm(100)]
public static int ListTest1(List<object> l, object e)
{
var i = l.LastIndexOf(e);
if (i >= 0)
return i;
return -1;
}

[Ignore("implement splitting")]
public static int HashtableTest(int a)
{
Expand Down

0 comments on commit 0085d86

Please sign in to comment.