Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed May 15, 2024
1 parent ecc8988 commit 0215e6c
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 56 deletions.
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/I1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public static IList<sbyte> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 8; i++)
{
var v = 1 << i;
list.AddIfNew((sbyte)v);
list.AddIfNew((sbyte)(v + 1));
list.AddIfNew((sbyte)(v - 2));
}
//for (var i = 0; i < 8; i++)
//{
// var v = 1 << i;
// list.AddIfNew((sbyte)v);
// list.AddIfNew((sbyte)(v + 1));
// list.AddIfNew((sbyte)(v - 2));
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/I2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public static IList<short> GetSeries()
AddNegatives(list);
list = list.Distinct().ToList();

for (var i = 0; i < 16; i++)
{
var v = 1 << i;
list.AddIfNew((short)v);
list.AddIfNew((short)(v + 1));
list.AddIfNew((short)(v - 2));
}
//for (var i = 0; i < 16; i++)
//{
// var v = 1 << i;
// list.AddIfNew((short)v);
// list.AddIfNew((short)(v + 1));
// list.AddIfNew((short)(v - 2));
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/I4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public static IList<int> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 32; i++)
{
var v = 1 << i;
list.AddIfNew(v);
list.AddIfNew(v + 1);
list.AddIfNew(v - 2);
}
//for (var i = 0; i < 32; i++)
//{
// var v = 1 << i;
// list.AddIfNew(v);
// list.AddIfNew(v + 1);
// list.AddIfNew(v - 2);
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/I8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ public static IList<long> GetSeries()
AddNegatives(list);
list = list.Distinct().ToList();

for (var i = 0; i < 64; i++)
{
var v = 1 << i;
list.AddIfNew(v);
list.AddIfNew(v + 1);
list.AddIfNew(v - 2);
}
//for (var i = 0; i < 64; i++)
//{
// var v = 1 << i;
// list.AddIfNew(v);
// list.AddIfNew(v + 1);
// list.AddIfNew(v - 2);
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/U1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public static IList<byte> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 8; i++)
{
var v = 1 << i;
list.AddIfNew((byte)v);
list.AddIfNew((byte)(v + 1));
list.AddIfNew((byte)(v - 2));
}
//for (var i = 0; i < 8; i++)
//{
// var v = 1 << i;
// list.AddIfNew((byte)v);
// list.AddIfNew((byte)(v + 1));
// list.AddIfNew((byte)(v - 2));
//}

list.Sort();
return list;
Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/U2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public static IList<ushort> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 16; i++)
{
var v = 1 << i;
list.AddIfNew((ushort)v);
list.AddIfNew((ushort)(v + 1));
list.AddIfNew((ushort)(v - 2));
}
//for (var i = 0; i < 16; i++)
//{
// var v = 1 << i;
// list.AddIfNew((ushort)v);
// list.AddIfNew((ushort)(v + 1));
// list.AddIfNew((ushort)(v - 2));
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/U4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ public static IList<uint> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 32; i++)
{
var v = 1u << i;
list.AddIfNew(v);
list.AddIfNew(v + 1);
list.AddIfNew(v - 2);
}
//for (var i = 0; i < 32; i++)
//{
// var v = 1u << i;
// list.AddIfNew(v);
// list.AddIfNew(v + 1);
// list.AddIfNew(v - 2);
//}

list.Sort();

Expand Down
14 changes: 7 additions & 7 deletions Source/Mosa.Utility.UnitTests/Numbers/U8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ public static IList<ulong> GetSeries()

list = list.Distinct().ToList();

for (var i = 0; i < 64; i++)
{
var v = 1ul << i;
list.AddIfNew(v);
list.AddIfNew(v + 1);
list.AddIfNew(v - 2);
}
//for (var i = 0; i < 64; i++)
//{
// var v = 1ul << i;
// list.AddIfNew(v);
// list.AddIfNew(v + 1);
// list.AddIfNew(v - 2);
//}

list.Sort();

Expand Down

0 comments on commit 0215e6c

Please sign in to comment.