local cs = require('crypto-square') describe('crypto-square', function() describe('normalized_plaintext', function() it('should convert all uppercase letters to lowercase', function() assert.equal('abcdefg', cs.normalized_plaintext('AbcDEfG')) end) it('should remove all whitespace', function() assert.equal('helloworld', cs.normalized_plaintext([[he ll o wor l d ]])) end) it('should remove all punctuation and special characters', function() assert.equal('helloworld', cs.normalized_plaintext('[{h|e!l@?>