spriteforge/tests/cpp17_smoke.cpp

9 lines
235 B
C++
Raw Normal View History

#include "sfa.hpp"
#include <cstdint>
int main(int argc,char** argv){
if(argc!=2)return 1;
spriteforge::File file(argv[1]);
auto frame=file.frame(0);
return frame.width==4&&frame.height==3&&frame.duration_ms==83?0:2;
}