Polybius square online7/26/2023 ![]() Write tests for the substitution() function. ![]() Write tests for the polybius() function.Each function and cipher is described below.īelow is a checklist of what you need to accomplish. For each cipher, you should make a series of tests using Mocha & Chai to confirm that your cipher works.Īll of the functions can be found inside of the src/ directory, and the corresponding test files can be found in tests/. You are tasked with building functions for an application that will either encode or decode a string using a variety of ciphers. To stop the server and regain control of your terminal, you can press Ctrl + C. To run the tests, you can run the following command: Run npm install to install the dependencies needed for this project.Use different expect() methods to test your code.įollow the instructions below to get this project up and running on your own machine:.Write a series of unit tests using Mocha & Chai.This project will assess the following key learning objectives: You will not need to make any edits to HTML or CSS for this project. Before taking on this module, you should be comfortable with the learning objectives listed below. This project is designed to test your ability to build complex algorithms as well as write unit tests with Mocha & Chai to test your algorithms. What better way to practice your new coding skills than to build an application that will help you encode and decode all kinds of fun messages? You're planning a surprise birthday party for one of your friends who loves escape rooms and puzzles.
0 Comments
Leave a Reply. |