Implement zkSNARK compression.
This commit is contained in:
14
src/gtest/json_test_vectors.cpp
Normal file
14
src/gtest/json_test_vectors.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "json_test_vectors.h"
|
||||
|
||||
Array
|
||||
read_json(const std::string& jsondata)
|
||||
{
|
||||
Value v;
|
||||
|
||||
if (!read_string(jsondata, v) || v.type() != array_type)
|
||||
{
|
||||
ADD_FAILURE();
|
||||
return Array();
|
||||
}
|
||||
return v.get_array();
|
||||
}
|
||||
Reference in New Issue
Block a user