[SOLVED] CS /* Tests timer_sleep(-100). Only requirement is that it not crash. */

$25

File Name: CS_/*_Tests_timer_sleep(-100).__Only_requirement_is_that_it_not_crash._*/.zip
File Size: 687.66 KB

5/5 - (1 vote)

/* Tests timer_sleep(-100).Only requirement is that it not crash. */

#include
#include tests/threads/tests.h
#include threads/malloc.h
#include threads/synch.h
#include threads/thread.h
#include devices/timer.h

void
test_alarm_negative (void)
{
timer_sleep (-100);
pass ();
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS /* Tests timer_sleep(-100). Only requirement is that it not crash. */
$25