34 строки
628 B
C#
34 строки
628 B
C#
//
|
|
// Unit tests for CGPDFOperatorTable
|
|
//
|
|
// Authors:
|
|
// Sebastien Pouliot <sebastien@xamarin.com>
|
|
//
|
|
// Copyright 2014 Xamarin Inc. All rights reserved.
|
|
//
|
|
|
|
using System;
|
|
#if XAMCORE_2_0
|
|
using Foundation;
|
|
using CoreGraphics;
|
|
#else
|
|
using MonoTouch.CoreGraphics;
|
|
using MonoTouch.Foundation;
|
|
#endif
|
|
using NUnit.Framework;
|
|
|
|
namespace MonoTouchFixtures.CoreGraphics {
|
|
|
|
[TestFixture]
|
|
[Preserve (AllMembers = true)]
|
|
public class PDFOperatorTableTest {
|
|
|
|
[Test]
|
|
public void Default ()
|
|
{
|
|
using (var table = new CGPDFOperatorTable ()) {
|
|
Assert.That (table.Handle, Is.Not.EqualTo (IntPtr.Zero), "Handle");
|
|
}
|
|
}
|
|
}
|
|
} |