示例#1
0
        public void CheckPermutationsV1_WithNoPermutations_ShouldReturnFalse()
        {
            // Arrange
            var checker = new Checker();

            // Act
            var res = checker.ArePermutationsV1("doosdfg", "gfsdddf");

            // Assert
            Assert.IsFalse(res);
        }
示例#2
0
        public void CheckPermutationsV1_WithPermutations_ShouldReturnTrue()
        {
            // Arrange
            var checker = new Checker();

            // Act
            var res = checker.ArePermutationsV1("dog", "god");

            // Assert
            Assert.IsTrue(res);
        }