Ejemplo n.º 1
0
        public void SolveSecondPuzzle_WhenUsingComplexMode()
        {
            var sut = Submarine.CreateComplexSubmarineFor(REAL_COURSE);

            Assert.Equal(1749524700, sut.Multiplier);
        }
Ejemplo n.º 2
0
        public void CalculateHorizontalPositionCorreclty_WhenUsingComplexMode(string course, int expectedMultiplier)
        {
            var sut = Submarine.CreateComplexSubmarineFor(course);

            Assert.Equal(expectedMultiplier, sut.Multiplier);
        }
Ejemplo n.º 3
0
        public void SolveSecondSample_WhenUsingComplexMode()
        {
            var sut = Submarine.CreateComplexSubmarineFor(SAMPLE_COURSE);

            Assert.Equal(900, sut.Multiplier);
        }
Ejemplo n.º 4
0
        public void BeInitializedCorrectly_WhenUsingComplexMode()
        {
            var sut = Submarine.CreateComplexSubmarineFor("up 0");

            Assert.Equal(0, sut.Multiplier);
        }