### Question:
PEUtil { static public boolean isVisualStudioOrClangPe(Program program) { return program.getExecutableFormat().equals(PeLoader.PE_NAME) && (program.getCompiler().equals(CompilerEnum.VisualStudio.toString()) || program.getCompiler().equals(CompilerEnum.Clang.toString())); }  static boolean canAnalyze(Program program); static boolean isVisualStudioOrClangPe(Program program);  }### Answer:
@Test public void testIsVisualStudioOrClangPeGivenVisualStudioPe() throws Exception { ProgramBuilder builder = build64BitX86(); ProgramDB program = builder.getProgram(); boolean result = PEUtil.isVisualStudioOrClangPe(program); assertTrue(result); }
@Test public void testIsVisualStudioOrClangPeGivenClangPe() throws Exception { ProgramBuilder builder = build64BitX86Clang(); ProgramDB program = builder.getProgram(); boolean result = PEUtil.isVisualStudioOrClangPe(program); assertTrue(result); }
@Test public void testIsVisualStudioOrClangPeGivenNotVisualStudioOrClangPe() throws Exception { ProgramBuilder builder = build64BitX86NonVS(); ProgramDB program = builder.getProgram(); boolean result = PEUtil.isVisualStudioOrClangPe(program); assertFalse(result); }