This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define MAX 100 | |
int defineMaxIndex(); | |
void receiveNumbers(int nums[], int maxIndex); | |
void descSort(int nums[], int maxIndex); | |
void printVector(int nums[], int maxIndex); | |
int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rspec/expectations' | |
RSpec::Matchers.define :have_tag do |html_tag| | |
match do |html_string| | |
@doc = Nokogiri::HTML.fragment(html_string) | |
@html_tag = html_tag | |
if @class_names.nil? && @content.nil? | |
have_html_tag?(html_tag) | |
elsif @class_names && @content.nil? |
NewerOlder