test262/website/resources/scripts/testcases/15.2.3.10.json

1 line
38 KiB
JSON

{"testsCollection":{"name":"Chapter - 15.2.3.10","numTests":"34","tests":[{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuMTAtMC0xIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy4xMC8xNS4yLjMuMTAtMC0xLmpzIiwKCmRlc2NyaXB0aW9uOiAiT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zIG11c3QgZXhpc3QgYXMgYSBmdW5jdGlvbiIsCgp0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICB2YXIgZiA9IE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9uczsKICBpZiAodHlwZW9mKGYpID09PSAiZnVuY3Rpb24iKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9Cn0pOwo=","id":"15.2.3.10-0-1","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-0-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuMTAtMC0yIiwKCnBhdGg6ICJUZXN0Q2FzZXMvY2hhcHRlcjE1LzE1LjIvMTUuMi4zLzE1LjIuMy4xMC8xNS4yLjMuMTAtMC0yLmpzIiwKCmRlc2NyaXB0aW9uOiAiT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zIG11c3QgZXhpc3QgYXMgYSBmdW5jdGlvbiB0YWtpbmcgMSBwYXJhbWV0ZXIiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgaWYgKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucy5sZW5ndGggPT09IDEpIHsKICAgIHJldHVybiB0cnVlOwogIH0KIH0sCgpwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICByZXR1cm4gZm5FeGlzdHMoT2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JldmVudEV4dGVuc2lvbnMgdGhyb3dzIFR5cGVFcnJvciBpZiAnTycgaXMgYSBzdHJpbmcgcHJpbWl0aXZlIHZhbHVlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMoImFiYyIpOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIChlIGluc3RhbmNlb2YgVHlwZUVycm9yKTsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpOwogICAgfQp9KTsK","id":"15.2.3.10-1-4","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-1-4.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuMTAtMSIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTEuanMiLAoKZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgdGhyb3dzIFR5cGVFcnJvciBpZiB0eXBlIG9mIGZpcnN0IHBhcmFtIGlzIG5vdCBPYmplY3QiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICB0cnkgewogICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMoMCk7CiAgICB9CiAgICBjYXRjaCAoZSkgewogICAgICBpZiAoZSBpbnN0YW5jZW9mIFR5cGVFcnJvcikgewogICAgICAgIHJldHVybiB0cnVlOwogICAgICB9CiAgICB9CiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyk7CiB9Cn0pOwo=","id":"15.2.3.10-1","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMi0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTItMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSByZXBlYXRlZCBjYWxscyB0byBwcmV2ZW50RXh0ZW5zaW9ucyBoYXZlIG5vIHNpZGUgZWZmZWN0cyIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciB0ZXN0UmVzdWx0MSA9IHRydWU7CiAgICAgICAgdmFyIHRlc3RSZXN1bHQyID0gdHJ1ZTsKCiAgICAgICAgdmFyIHByZUNoZWNrID0gT2JqZWN0LmlzRXh0ZW5zaWJsZShvYmopOwoKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMob2JqKTsKICAgICAgICB0ZXN0UmVzdWx0MSA9IE9iamVjdC5pc0V4dGVuc2libGUob2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMob2JqKTsKICAgICAgICB0ZXN0UmVzdWx0MiA9IE9iamVjdC5pc0V4dGVuc2libGUob2JqKTsKCiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICF0ZXN0UmVzdWx0MSAmJiAhdGVzdFJlc3VsdDI7CgogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-2-1","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-2-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoIHsKaWQ6ICIxNS4yLjMuMTAtMiIsCgpwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTIuanMiLAoKZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgcmV0dXJucyBpdHMgYXJndW1lbnRzIGFmdGVyIHNldHRpbmcgaXRzIGV4dGVuc2libGUgcHJvcGVydHkgdG8gZmFsc2UiLAoKdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgdmFyIG8gID0ge307CiAgdmFyIG8yID0gdW5kZWZpbmVkOwoKICBvMiA9IE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhvKTsKICBpZiAobzIgPT09IG8gJiYgT2JqZWN0LmlzRXh0ZW5zaWJsZShvMikgPT09IGZhbHNlKSB7CiAgICByZXR1cm4gdHJ1ZTsKICB9CiB9LAoKcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyk7CiB9Cn0pOwo=","id":"15.2.3.10-2","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtMS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBPYmplY3QuaXNFeHRlbnNpYmxlKGFyZykgcmV0dXJucyBmYWxzZSBpZiBhcmcgaXMgdGhlIHJldHVybmVkIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUob2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMob2JqKTsKCiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFPYmplY3QuaXNFeHRlbnNpYmxlKG9iaik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-1","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTEwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIGluZGV4ZWQgcHJvcGVydGllcyBjYW5ub3QgYmUgYWRkZWQgaW50byBhbiBFcnJvciBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBlcnJPYmogPSBuZXcgRXJyb3IoKTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKGVyck9iaik7CiAgICAgICAgT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKGVyck9iaik7CgogICAgICAgIGVyck9ialswXSA9IDEyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhZXJyT2JqLmhhc093blByb3BlcnR5KCIwIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-10","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-10.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTExLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIGluZGV4ZWQgcHJvcGVydGllcyBjYW5ub3QgYmUgYWRkZWQgaW50byBhbiBBcmd1bWVudHMgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgYXJnT2JqOwogICAgICAgIChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIGFyZ09iaiA9IGFyZ3VtZW50czsKICAgICAgICB9KCkpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUoYXJnT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMoYXJnT2JqKTsKCiAgICAgICAgYXJnT2JqWzBdID0gMTI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFhcmdPYmouaGFzT3duUHJvcGVydHkoIjAiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucykgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-11","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-11.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xMiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTEyLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gdGhlIHJldHVybmVkIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIG9iaiA9IHt9OwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUob2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMob2JqKTsKCiAgICAgICAgb2JqLmV4TmFtZSA9IDI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFPYmplY3QuaGFzT3duUHJvcGVydHkoImV4TmFtZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-3-12","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-12.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTEzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBGdW5jdGlvbiBvYmplY3QiLAoKICAgIHRlc3Q6IGZ1bmN0aW9uIHRlc3RjYXNlKCkgewogICAgICAgIHZhciBmdW5PYmogPSBmdW5jdGlvbiAoKSB7IH07CiAgICAgICAgdmFyIHByZUNoZWNrID0gT2JqZWN0LmlzRXh0ZW5zaWJsZShmdW5PYmopOwogICAgICAgIE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhmdW5PYmopOwoKICAgICAgICBmdW5PYmouZXhOYW1lID0gMjsKICAgICAgICByZXR1cm4gcHJlQ2hlY2sgJiYgIWZ1bk9iai5oYXNPd25Qcm9wZXJ0eSgiZXhOYW1lIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-13","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-13.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTE0LmpzIiwKCiAgICBkZXNjcm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YmJxIik7CiAgICAgICAgdmFyIHByZUNoZWNrID0gT2JqZWN0LmlzRXh0ZW5zaWJsZShzdHJPYmopOwogICAgICAgIE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhzdHJPYmopOwoKICAgICAgICBzdHJPYmouZXhOYW1lID0gMjsKICAgICAgICByZXR1cm4gcHJlQ2hlY2sgJiYgIXN0ck9iai5oYXNPd25Qcm9wZXJ0eSgiZXhOYW1lIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-15","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-15.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xNiIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTE2LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBCb29sZWFuIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGJvb2xPYmogPSBuZXcgQm9vbGVhbih0cnVlKTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKGJvb2xPYmopOwogICAgICAgIE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhib29sT2JqKTsKCiAgICAgICAgYm9vbE9iai5leE5hbWUgPSAyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhYm9vbE9iai5oYXNPd25Qcm9wZXJ0eSgiZXhOYW1lIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-16","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-16.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xNyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTE3LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBOdW1iZXIgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgbnVtT2JqID0gbmV3IE51bWJlcigxMjMpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUobnVtT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMobnVtT2JqKTsKCiAgICAgICAgbnVtT2JqLmV4TmFtZSA9IDI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFudW1PYmouaGFzT3duUHJvcGVydHkoImV4TmFtZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-3-17","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-17.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xOCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTE4LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBEYXRlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGVPYmogPSBuZXcgRGF0ZSgpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUoZGF0ZU9iaik7CiAgICAgICAgT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKGRhdGVPYmopOwoKICAgICAgICBkYXRlT2JqLmV4TmFtZSA9IDI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFkYXRlT2JqLmhhc093blByb3BlcnR5KCJleE5hbWUiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucykgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-18","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-18.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0xOSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTE5LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBSZWdFeHAgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgcmVnT2JqID0gbmV3IFJlZ0V4cCgpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUocmVnT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMocmVnT2JqKTsKCiAgICAgICAgcmVnT2JqLmV4TmFtZSA9IDI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFyZWdPYmouaGFzT3duUHJvcGVydHkoImV4TmFtZSIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-3-19","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-19.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0yIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtMi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gdGhlIHJldHVybmVkIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CgogICAgICAgIHZhciBvYmogPSB7fTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKG9iaik7CiAgICAgICAgT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKG9iaik7CgogICAgICAgIG9ialswXSA9IDEyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhb2JqLmhhc093blByb3BlcnR5KCIwIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-2","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-2.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0yMCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTIwLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYW4gRXJyb3Igb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgZXJyT2JqID0gbmV3IEVycm9yKCk7CiAgICAgICAgdmFyIHByZUNoZWNrID0gT2JqZWN0LmlzRXh0ZW5zaWJsZShlcnJPYmopOwogICAgICAgIE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhlcnJPYmopOwoKICAgICAgICBlcnJPYmouZXhOYW1lID0gMjsKICAgICAgICByZXR1cm4gcHJlQ2hlY2sgJiYgIWVyck9iai5oYXNPd25Qcm9wZXJ0eSgiZXhOYW1lIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-20","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-20.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0yMSIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTIxLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIG5hbWVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYW4gQXJndW1lbnRzIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGFyZ09iajsKICAgICAgICAoZnVuY3Rpb24gKCkgewogICAgICAgICAgICBhcmdPYmogPSBhcmd1bWVudHM7CiAgICAgICAgfSgpKTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKGFyZ09iaik7CiAgICAgICAgT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKGFyZ09iaik7CgogICAgICAgIGFyZ09iai5leE5hbWUgPSAyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhYXJnT2JqLmhhc093blByb3BlcnR5KCJleE5hbWUiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5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/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-22.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0yMyIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTIzLmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIHByb3BlcnRpZXMgY2FuIHN0aWxsIGJlIHJlYXNzaWduZWQgYWZ0ZXIgZXh0ZW5zaW9ucyBoYXZlIGJlZW4gcHJldmVudGVkIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgb2JqID0geyBwcm9wOiAxMiB9OwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUob2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMob2JqKTsKCiAgICAgICAgb2JqLnByb3AgPSAtMTsKCiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmIG9iai5wcm9wID09PSAtMTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucykgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-23","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-23.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0yNCIsCgogICAgcGF0aDogIlRlc3RDYXNlcy9jaGFwdGVyMTUvMTUuMi8xNS4yLjMvMTUuMi4zLjEwLzE1LjIuMy4xMC0zLTI0LmpzIiwKCiAgICBkZXNjcmlwdGlvbjogIk9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyAtIFtbRXh0ZW5zaWJsZV1dOiBmYWxzZSBvbiBhIHByb3RvdHlwZSBkb2Vzbid0IHByZXZlbnQgYWRkaW5nIHByb3BlcnRpZXMgdG8gYW4gaW5zdGFuY2UgdGhhdCBpbmhlcml0cyBmcm9tIHRoYXQgcHJvdG90eXBlIiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgcHJvdG8gPSB7fTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKHByb3RvKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMocHJvdG8pOwoKICAgICAgICB2YXIgQ29uc3RydWN0RnVuID0gZnVuY3Rpb24gKCkgeyB9OwogICAgICAgIENvbnN0cnVjdEZ1bi5wcm90b3R5cGUgPSBwcm90bzsKICAgICAgICB2YXIgY2hpbGQgPSBuZXcgQ29uc3RydWN0RnVuKCk7CgogICAgICAgIGNoaWxkLnByb3AgPSAxMDsKCiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmIGNoaWxkLmhhc093blByb3BlcnR5KCJwcm9wIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-24","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-24.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy0zIiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy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yT2JqWzEwXSA9IDEyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhc3RyT2JqLmhhc093blByb3BlcnR5KCIxMCIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-3-5-1","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-5-1.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy01IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtNS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBTdHJpbmcgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgc3RyT2JqID0gbmV3IFN0cmluZygpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUoc3RyT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMoc3RyT2JqKTsKICAgICAgICB0cnkgewogICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoc3RyT2JqLCAiMCIsIHsgdmFsdWU6ICJjIiB9KTsKICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgcmV0dXJuIGUgaW5zdGFuY2VvZiBUeXBlRXJyb3IgJiYgcHJlQ2hlY2sgJiYKICAgICAgICAgICAgICAgICFzdHJPYmouaGFzT3duUHJvcGVydHkoIjAiKSAmJiB0eXBlb2Ygc3RyT2JqWzBdID09PSAidW5kZWZpbmVkIjsKICAgICAgICB9CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpICYmIGZuRXhpc3RzKE9iamVjdC5kZWZpbmVQcm9wZXJ0eSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-5","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-5.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy02IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtNi5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBCb29sZWFuIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGJvb2xPYmogPSBuZXcgQm9vbGVhbih0cnVlKTsKICAgICAgICB2YXIgcHJlQ2hlY2sgPSBPYmplY3QuaXNFeHRlbnNpYmxlKGJvb2xPYmopOwogICAgICAgIE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucyhib29sT2JqKTsKCiAgICAgICAgYm9vbE9ialswXSA9IDEyOwogICAgICAgIHJldHVybiBwcmVDaGVjayAmJiAhYm9vbE9iai5oYXNPd25Qcm9wZXJ0eSgiMCIpOwogICAgfSwKCiAgICBwcmVjb25kaXRpb246IGZ1bmN0aW9uIHByZXJlcSgpIHsKICAgICAgICByZXR1cm4gZm5FeGlzdHMoT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKSAmJiBmbkV4aXN0cyhPYmplY3QuaXNFeHRlbnNpYmxlKTsKICAgIH0KfSk7Cg==","id":"15.2.3.10-3-6","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-6.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy03IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtNy5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBOdW1iZXIgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgbnVtT2JqID0gbmV3IE51bWJlcigxMjMpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUobnVtT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMobnVtT2JqKTsKCiAgICAgICAgbnVtT2JqWzBdID0gMTI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFudW1PYmouaGFzT3duUHJvcGVydHkoIjAiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucykgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-7","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-7.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy04IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtOC5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBEYXRlIG9iamVjdCIsCgogICAgdGVzdDogZnVuY3Rpb24gdGVzdGNhc2UoKSB7CiAgICAgICAgdmFyIGRhdGVPYmogPSBuZXcgRGF0ZSgpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUoZGF0ZU9iaik7CiAgICAgICAgT2JqZWN0LnByZXZlbnRFeHRlbnNpb25zKGRhdGVPYmopOwoKICAgICAgICBkYXRlT2JqWzBdID0gMTI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFkYXRlT2JqLmhhc093blByb3BlcnR5KCIwIik7CiAgICB9LAoKICAgIHByZWNvbmRpdGlvbjogZnVuY3Rpb24gcHJlcmVxKCkgewogICAgICAgIHJldHVybiBmbkV4aXN0cyhPYmplY3QucHJldmVudEV4dGVuc2lvbnMpICYmIGZuRXhpc3RzKE9iamVjdC5pc0V4dGVuc2libGUpOwogICAgfQp9KTsK","id":"15.2.3.10-3-8","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-8.js"},{"code":"RVM1SGFybmVzcy5yZWdpc3RlclRlc3QoewogICAgaWQ6ICIxNS4yLjMuMTAtMy05IiwKCiAgICBwYXRoOiAiVGVzdENhc2VzL2NoYXB0ZXIxNS8xNS4yLzE1LjIuMy8xNS4yLjMuMTAvMTUuMi4zLjEwLTMtOS5qcyIsCgogICAgZGVzY3JpcHRpb246ICJPYmplY3QucHJldmVudEV4dGVuc2lvbnMgLSBpbmRleGVkIHByb3BlcnRpZXMgY2Fubm90IGJlIGFkZGVkIGludG8gYSBSZWdFeHAgb2JqZWN0IiwKCiAgICB0ZXN0OiBmdW5jdGlvbiB0ZXN0Y2FzZSgpIHsKICAgICAgICB2YXIgcmVnT2JqID0gbmV3IFJlZ0V4cCgpOwogICAgICAgIHZhciBwcmVDaGVjayA9IE9iamVjdC5pc0V4dGVuc2libGUocmVnT2JqKTsKICAgICAgICBPYmplY3QucHJldmVudEV4dGVuc2lvbnMocmVnT2JqKTsKCiAgICAgICAgcmVnT2JqWzBdID0gMTI7CiAgICAgICAgcmV0dXJuIHByZUNoZWNrICYmICFyZWdPYmouaGFzT3duUHJvcGVydHkoIjAiKTsKICAgIH0sCgogICAgcHJlY29uZGl0aW9uOiBmdW5jdGlvbiBwcmVyZXEoKSB7CiAgICAgICAgcmV0dXJuIGZuRXhpc3RzKE9iamVjdC5wcmV2ZW50RXh0ZW5zaW9ucykgJiYgZm5FeGlzdHMoT2JqZWN0LmlzRXh0ZW5zaWJsZSk7CiAgICB9Cn0pOwo=","id":"15.2.3.10-3-9","path":"TestCases/chapter15/15.2/15.2.3/15.2.3.10/15.2.3.10-3-9.js"}]}}