use dat::manager::DatManager;

#[test]
fn hard_test() {

    let manager = DatManager::new();

    let plain = "Unicode 유니코드 ユニコード 万国码 يونيكود यूनिकोड Юникод 🦄💻";
    let secure = "Ciphertext 암호문 暗号文 密文 Шифротекст Texte chiffré Geheimtext نص مشفر सिफरपाठ 🔐";

    let certs = "
0.P256.sezuWbe6ifrk7TM4u6XKiueDkCjicFEtOCsnO7Cb0SY.AES128GCMN.OVFq6YFA2DmEM6L5w-7nPw.0.221845392000.3155760000
a.P256.~BKEdYNTJ_VsNPVSNCA5cItZ0aJCF0w63feS2UqNbnagDqIg5XlOUtDjWIfGjS98w5LuDACEZCIS4SKw7_95pA3I.AES128GCMN.L2pzg4UgP-ii84AjKqu6Bg.0.221845392000.3155760000
ab.P256.sE8D0IHMjuQeQktZRtnc4ZtTstTIMNPkZ0SukDqN-k0~BNm5-vMYp9hjgeq8yaoUMZSbUE2AlDIa2HhgC1QhUCD_g46Ekxk6zD-G7bGPyEefEtsb-a-HD3pfbay8Zj6VMZU.AES128GCMN.FNTjbj3r50cmbAmxm0BYlQ.0.221845392000.3155760000
abcde.P256.Id45cB-mQILEGnfZXFEKaGB0hX9YiPKXTm_-pxUmEGE.AES256GCMN.0k-Qfi82Y0jm8ftKuP89x9vopkuwXr_alsNWWZIzLQg.0.221845392000.3155760000
abcdef.P256.~BE7UKiL_zL27DSTc-ydONqMCXbevK0nO33weFs_E_3aeXJmChXIBSivmTO6iOiQfP8rKYldFxpcOORvHQMQNfAA.AES256GCMN._BQEDY0uMrxJ60hlxc96vjPFNdJjSFEBfKRN0NkDm44.0.221845392000.3155760000
abcedf0.P256.bNyLebQU4lVyOTegjoXezn5VDAFckHZsu8dNJXS1eGM~BLAj5ttc0OxhzWAy0_p-UbmxvEtq_WcmaObXnz6P4EPsP82NTS4MKWGMrjRndHH0APZtyBVagQB6ino_-4qpf90.AES256GCMN.-9OTk4teuWIvSOdGvt1MyLnRxS3y4kGQmQl54AdCT0k.0.221845392000.3155760000
abcedf01.P384.WIrKMEeky19usOwxmbdg8ED9oh-FgsC3pmhgVsk88yhw9yo4jD9FnNf2z7Zh-fTq.AES128GCMN.U9udeSFoWSuLjWXqADMDtg.0.221845392000.3155760000
abcedf012.P384.~BJxdS2d-avaFwBye_qAOPHR8EXm6ul1PvPq5fTSkcy9hvOY8_R49YlU_Cxyg4kWLIkYHbKfZBsjVm0xwENXCLRPGg7ZQyIR9QCmLTajXyLdO7nl2BIeowKSLZpuBj6TJqQ.AES128GCMN.4IENssJE-NsrhAj7F58CXA.0.221845392000.3155760000
abcedf0123.P384.Y3rFmiihAMpayxm7xyCWn1wj6FVVvurPIEJG9o9C8WaBXBCXjgonF2vTFw8UC5y2~BFEXR1gUVEQt2cCuzzyW6-Xkhk6d5OMfkDIUhUT-phxt6X7Xd9IozarkN4Cs6nlGPI6H8Vg8t-Mhr6jYptHJ0hHwj0wm4r8kdbRC2RGZ3BP7O4c0BlulCBpMEET6GY-1Jw.AES128GCMN.ZPaeUFtlZ5_0pTWDZ3wGJg.0.221845392000.3155760000
abcedf01234.P384.DxrinryUv2Mzka-G3WsWCGFsI8PVUB4hetyYIA9U20E0QanCPhB2yd1qytZcgXOk.AES256GCMN.AB5x8cDfDiS0vhFQ819DLrDpjl1ED4YFlKzwrHqwi_w.0.221845392000.3155760000
abcedf012345.P384.~BBpkyDcAH9RUeNCeyNA0t4mB-FaeIOlwjK0nWVb3KLDemTGt6ioxpyHPHpE4vuL8sgP8CcqZt8DOc2zRwNpYxUnNANt_z858d0OIF9IpFt5HFmoxWghJecbZ999h6LuPFg.AES256GCMN.wtsm4-3aOFJaEfQQIngtrzt_Q4k77EeqFhvmhn9Dkjg.0.221845392000.3155760000
abcedf0123456.P384.rm0JxWUa87nXUi493XwQfLOA0862Xv2JD-3KQJ9N3z1piiF2YeZypPq1Bug8z4cR~BBZRuWRRRNdfvwaL2UTjfcED5ek06DAzDQ1HXmJojN7tA195VKgBt3k2Tk9EDPMgLSXofdTcwoE8Rvgw06slTcKXHLSIyzksYAcbtdFuCiq9iLBM5LyVrdUcXcti1EnDRA.AES256GCMN.Xv47s2H1r3kiTT3dxImsn1dI9XE42fzsPLkLsAL9Zoc.0.221845392000.3155760000
abcedf01234567.P521.AUe9F8BsVpXV4Sa22rWMx2ULzb3WBzRxoIayRlrcoMbOOUsxp-N52SUwY8GFFyTH7vAlFbIfUOLNyHTtuiyGFMhH.AES128GCMN.pBFzlsIm48MqPMPxjWL_Qg.0.221845392000.3155760000
abcedf012345678.P521.~BACHSFg-Tw9gjmfbyp5L6GN-9J6SbSCeuOM_UTsCq4SJi6VcgABlQnCgL4vAGhWTjBLllx1iBxcA7bzHlHNYklxeNwDXCoZIILUlKPc7ekVzoYAVE1tAaXJnqAyPLzU_CmVbn7pA8X-166AvAzDBQTexkeEGjfl3rVZh7MkD6I0GpkInHA.AES128GCMN.Y1GHCk8wlYkm2xGDQFT50w.0.221845392000.3155760000
abcedf0123456789.P521.AV44U1BE26OxA8UjRzPV4zGi1_b27ioR99KK9y2-Efae-GCI8yF1fj7jKv1hcENYxmYs0pbTJNGktFgPyR3ILF75~BAFZoGmXA0MV6JU0E7kWvKSPzGSLLVzIfr9vHEIsVEHwtItijMkdyOvEcr-vSFdmLWi6WFUhZ2NPT7h18M7-HnWBAgFTkVqGumBfPagrwhtI7pWs76sFEZJbv__Uq2DzrEahVo4_zbGfTkC9XrWhijpmYqMu6nkvpqX2dlxc6lfRLFmT9Q.AES128GCMN.cA4hhf_z9R51ajk1CR7uNw.0.221845392000.3155760000
7fffffffffffffff.P521.AI6-HVPCXveqLdBxgQGVQXHMEAvpXnH3lbcKLFlbbCvJMayBChKXm3y8l2BExs5Wem_aYfngdrsjVmDkq2tOkIzx.AES256GCMN.f0axC7X8QeOkINqyM-gYhDbaPcpFtyvgGfc6Xs9dh30.0.221845392000.3155760000
ffffffffffffffff.P521.~BAF2OpM1ID0mlvcZ8KuUa_GTHpskPxVwT3OAVlR_qHfAZFFDAwotoqT2LmnOn4NMHoc_A1ZSpR9Um2YWXRmz0HNTuwB9WfD0bQWM2_dm3mugf-iY0oER3fSs-ZAZzY-frSbfl0cYzojxFd5Nom6XuIVEejfJsJMGRMz9V54G5N1yOZR8fQ.AES256GCMN.Ry98wdDgGp-foGhRCizSRpK1jSCFO6i9tJ7GmjluueU.0.221845392000.3155760000
f000000000000000.P521.ARCdnmF9-acJNWdNlML9H6qNxiyJXEiTBIb8_5s8VwCquePPKOlhlYZNmmeqPhOsoVj6yDBiVV18f-8sYoIKcdLk~BAATZBP_QvAF-DZrDwA1cowhfEA7HsC8HDa3RJAn3vrbQt4g3eEt1lcOyQhbJZ6-b5Ripsak0JoZhDaga9v5bsSNkAHkndoD3DtS15qFXr6mB1yk0-wSN2xFBk0ToDDMXzKFD6o9UdQcKxOpCizKW7cat1YCkkg_BhaDPFOJZ8ttX7VrdQ.AES256GCMN.KX7UkjaMHS3Ue74vCrr4uEqBMzvVco1meh1aNBxXcWs.0.221845392000.3155760000
".trim();

    let dat_list = "
4934518634.0.VW5pY29kZSDsnKDri4jsvZTrk5wg44Om44OL44Kz44O844OJIOS4h-WbveeggSDZitmI2YbZitmD2YjYryDgpK_gpYLgpKjgpL_gpJXgpYvgpKEg0K7QvdC40LrQvtC0IPCfpoTwn5K7.YJOcTDnjbiH1mfQsqHS7Qx50_bNkZae6hYSLz1tm5WfMK3WQIk8n3gWyHx1AUDQfeVT45Vq5JWmy1t647Ofh7IqAgPAqh8dMs4VRKSpJlP1d6xBVa-P0AjyRAQ3NXmkX-IYwqpVs9e-bAiy0tkR24Dkyd5jO1QhHxQJmgY8K7jV6TjuPfwvRB-Ka9RnoFVVhx3kzCSjpBoH8.z6-wUuBAn4yAWo0xITj2GebGu4DG3CEMKldGXSXhmaMQM_8ypuKWnwDDRvfho3YAaJjA96TuvwodFGzoZ605bA
4934518634.a.VW5pY29kZSDsnKDri4jsvZTrk5wg44Om44OL44Kz44O844OJIOS4h-WbveeggSDZitmI2YbZitmD2YjYryDgpK_gpYLgpKjgpL_gpJXgpYvgp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c68bQ8bkzRgrII3N4awIfgjAYfFUmGHLZNgGxeJcFdCFGCE-AK-URRN6fP4UEhI3CrpHeR2hIilnX67fDCObRg-e6HrCbiozDdIJNW0qyqmrR7PCExScahSvW2pctU8lwYpdCVxIsdLrH39DCNBZx9wkd3lpSmihCiyEZmzRjp__pxyr.CMKTU1sLMvIDjhMPeSYoAejjIPDfdq-zWS1rs02HaHt5KEuNR5z2LjgnX7wDWLlGkPyxjdmtVpibKFXROGTKOwD_E2TcysjFr7MZiK56_rbb3qmEd74IlFodRfre6R5p
4934518634.abcedf01234.VW5pY29kZSDsnKDri4jsvZTrk5wg44Om44OL44Kz44O844OJIOS4h-WbveeggSDZitmI2YbZitmD2YjYryDgpK_gpYLgpKjgpL_gpJXgpYvgpKEg0K7QvdC40LrQvtC0IPCfpoTwn5K7.pDhI2fDqF11zrr2l_S2BE9hnGXAR8bcZrelwLY9aDb5o1_JfviFiyJztLTGZbTopuFbaGnZ1dQU1N5mY1gjOpTv-bgYxZUNc2EgQmjAE-hVjgh6QgnF8BWlEbSm-m5PeXP85kPj-os06zoQRRkKyX2mze3B3babrWconObXgvxRtbM4DSBN4wVKohj38rUAok1GQyeqteZRD.PVscEo8-H8XXBYzTvtx5L6ZW581imDH9RV-eankmwrstyvWae4l46jDWazlVRCIR5vuEqvoq1ui4pwFboCNAHEJplYVMFwLMccolH4WK1G2LcRWccCy1s3GIyEXHX4xB
4934518634.abcedf012345.VW5pY29kZSDsnKDri4jsvZTrk5wg44Om44OL44Kz44O844OJIOS4h-WbveeggSDZitmI2YbZitmD2YjYryDgpK_gpYLgpKjgpL_gpJXgpYvgpKEg0K7QvdC40LrQvtC0IPCfpoTwn5K7.XY4NBvf1ijTdhLgRMjV-zywYsRhGJA2AAog-gKrMN74rf-TCet3Ggnj82IZyzl7l0vNKzRGqjXK4OJv1U4MzvGtNGNclEBuI2R5U9c_GavQzmj-7dto2rCA3kd-z2dB1cYGcGAsTWciKLSUytf47ipDJQUKPCupIFWDoOrgji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EJP419-IGXfmW3i3PaVEsx4P9mNQuVu8BY1APVI_IA8Qv9XTHW6WwNUJMSPnS
4934518634.f000000000000000.VW5pY29kZSDsnKDri4jsvZTrk5wg44Om44OL44Kz44O844OJIOS4h-WbveeggSDZitmI2YbZitmD2YjYryDgpK_gpYLgpKjgpL_gpJXgpYvgpKEg0K7QvdC40LrQvtC0IPCfpoTwn5K7.uyrnf_2dgTmXVUJy_IX2JryLnXAt1RwDUUfp458PKubwDBsyqcXnoq0nTPMVC1ILX5U5poYEol5M2eWbNYn9yNdPX_nvcEWLlgXUqX4UW_TquhuSe8EedwzQNa9hDXHpLw5wv0ZHViLsUUPn01drb6VnHAkIdBM2f6HT9EJNuKe2EIrQjIM1UjW4IuDVtDpANOrdHT9Z0y8m.AFoiYtNuRn8KV1m3pTkae_sPiRFyaVprsy7PJKKzjVE1hIfwJFcc5phu-O8K9vl3ojm7RRjVi6j89j28i2_q0V1wAbXd0bm6IQNxq1f3IM76ar21oOpOGA9Q-m2wFxeNCqGR6iQxsLM3I1CNJGn_Pa_c2ak2cO3FMtyqJ8G-wDMmUwhH".trim().split("\n");

    manager.import(certs, true).unwrap();

    for dat in dat_list {
        let payload = manager.parse(dat.to_string().try_into().unwrap()).unwrap().to_string_payload().unwrap();
        assert_eq!(plain, payload.plain);
        assert_eq!(secure, payload.secure);
        println!("PASS {}", dat);
        println!("PASS {}", payload);
    }
}
