Пример #1
0
        public void Test1000()
        {
            int n      = 1000;
            int answer = Prob1.SumMultiplesOf3and5(n);

            TestUtils.WriteOut(n, answer);
            Assert.IsTrue(answer == 233168);
        }
Пример #2
0
 public MainWindowModel()
 {
     Plot1 = new PlotModel();
     Prob1.main(this);
     //SetUpModel(Plot1);
     //SetUpModel(Plot2);
     //LoadData(Plot1);
     //LoadData(Plot2);
     //Plot1.Series.Add(new FunctionSeries(Math.Cos, 0, 100, 0.1, "cos(x)"));
 }