Exemple #1
0
        private void RunmakeProgramTest(string[] output, string[] expected)
        {
            Class1000 target = new Class1000();

            string[] actual;
            actual = target.makeProgram(output);
            CollectionAssert.AreEqual(expected, actual);
        }
    public void method_0(byte[] A_0, int A_1, int A_2, bool A_3)
    {
        int num = 10;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("启匱䀳圵", num));
        }
        int num2 = A_1 + A_2;

        if (((0 > A_1) || (A_1 > num2)) || (num2 > A_0.Length))
        {
            throw new ArgumentOutOfRangeException(BookmarkStart.b("缯吱刳䔵崷丹᰻儽㈿扁⡃⍅♇ⵉ㡋♍灏㭑❓癕ㅗ㑙㽛ㅝ቟ၡţեᱧ䑩", num));
        }
        this.byte_5 = A_0;
        this.int_41 = A_1;
        this.int_42 = num2;
        if (A_2 != 0)
        {
            if (this.bool_1)
            {
                throw new IOException(BookmarkStart.b("振䘱䘳匵夷圹᰻䤽ℿㅁ摃╅⑇╉㽋⭍㑏籑", num));
            }
            Class1000.smethod_0(ref this.long_0, this.byte_5, this.int_41, A_2);
            while (!this.method_3() || !this.method_32())
            {
                this.method_33();
                if (!this.method_14(A_3) && A_3)
                {
                    this.method_33();
                    this.method_29();
                    if (!this.bool_0)
                    {
                        this.method_31((int)(this.long_0 >> 0x10));
                        this.method_31((int)(this.long_0 & 0xffffL));
                    }
                    this.method_33();
                    this.bool_1 = true;
                    if (this.bool_3)
                    {
                        this.stream_0.Close();
                    }
                }
            }
        }
    }
Exemple #3
0
 protected void method_3(byte[] A_0, int A_1, int A_2)
 {
     Class1000.smethod_0(ref this.long_0, A_0, A_1, A_2);
 }
Exemple #4
0
        public void Class1000ConstructorTest()
        {
            Class1000 target = new Class1000();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }