public void MainsForTest() { CollectionAssert.AreEqual(Module2.MainsFor(new List <int>() { 486, 475, 127, 745, 74 }), new List <int>() { 486, 475, 745, 74 }); CollectionAssert.AreEqual(Module2.MainsFor(new List <int>() { 471, 845, 578, 186, 748 }), new List <int>() { 471, 845, 578, 186, 748 }); CollectionAssert.AreEqual(Module2.MainsFor(new List <int>() { 878, 45, 15, 31, 127, 255, 511 }), new List <int>() { 878, 45, 15, 255, 511 }); CollectionAssert.AreEqual(Module2.MainsFor(new List <int>() { }), new List <int>() { }); }
private List <int> Methods(string text) { return(Module2.MainsFor( Module1.ConvertStringInInt( Module1.ConvertStringInMasString(text)))); }